WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] custom calculation and send result back using mail 2 (5 posts)

  1. clickthroughalex
    Member
    Posted 5 months ago #

    Hi,
    I embedded contact form 7 on my site. Basically what I want is, customer fills in my form (name, gross income, loan amount, loan term etc), then all form information goes to me and a response email back to customer with some calculations(e.g Loan Value Ratio). How can I add my calculations into the response email? Cheers.

    https://wordpress.org/plugins/contact-form-7/

  2. buzztone
    Member
    Posted 5 months ago #

    This is not achievable without a substantial amount of custom programming.

  3. clickthroughalex
    Member
    Posted 5 months ago #

    Thanks for your response. I am a developer. I just don't know where to start customizing.

  4. buzztone
    Member
    Posted 5 months ago #

    There a number of hooks available in the plugin. I'd start by looking for one that alllows you to filter Mail2 content.

  5. clickthroughalex
    Member
    Posted 5 months ago #

    Hi,
    I finally found a solution: http://xaviesteve.com/3298/wordpress-contact-form-7-hook-unofficial-developer-documentation-and-examples/. To get data or save data, use $WPCF7_ContactForm->posted_data['FieldName']. Cheers.

Reply

You must log in to post.

About this Plugin

About this Topic