PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Copying Customized Confirmation Messages into the Confirmation Email

  1. andrewghayes2
    Member

    So, I've been replacing a TON of website functionality with Gravity Forms - OMFG this is amazing. So fantastic.

    I've just setup a pretty sweet website assessment tool, which you can see here
    http://www.travelonlinepartners.com/self-assessment

    I'm using the conditional logic feature which worked just fine to pull PHP logic and lay out a straightforward (but layered in complexity) HTML output.

    Now I'm trying to get my output into a confimation email, and I'm stumped. I'm using some of the code previous posted here on the forums, such as here but nothing I do seems to show up in the notification emails.

    My questions:
    - Which filter/hooks tie up with which notification emails?
    - Most of the sample code seems to add onto the existing email text, where I want to clear it and start over.
    - Is there a way to reuse the string I've already got running in my above quiz, and just drop this long string text into an email somewhere?

    Got along so well with the CSS and PHP functions, so frustrated to get stuck on the email part!

    Thanks for the help.
    -A-

    Posted 12 years ago on Sunday December 4, 2011 | Permalink
  2. The link you posted here did not work, so I can't see that. You probably want to use the gform_pre_submission_filter to change the notification email. It's referred to as the autoResponder. You can completely replace the notification text and not use the text that is saved in the form builder.

    With as much as you have accomplished already I am certain you will be able to get this working. Please ask after you're read the documentation and we'll help point you in the right direction.

    Posted 12 years ago on Sunday December 4, 2011 | Permalink