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.

One form, Multiple team pages, Route email to member based on their page name

  1. Anonymous
    Unregistered

    Is there a way to have a single contact form to be embedded into multiple team member pages and automatically route that email to the member based on the page it is from.

    Example:
    There are 3 pages: John, Sue, Bob
    Each page has the same Gravity Form with standard contact questions.
    The page is titled John, Sue, Bob
    When someone submits a contact request, it automatically chooses the right email address based on the page it is from.

    Thanks in advance!

    Posted 13 years ago on Friday May 20, 2011 | Permalink
  2. You can do this using custom fields. Add a custom field for each page that stores the email address that you want to send the notification to. You store it as a custom field value for that page. You then populate a hidden field on your form with this custom field value, and then send the email notification to that value stored in that hidden field.

    Here is a forum post that discusses how to do this:

    http://www.gravityhelp.com/forums/topic/email-notification-send-to-email-address-pulled-in-from-post-custom-field

    Posted 13 years ago on Friday May 20, 2011 | Permalink
  3. Anonymous
    Unregistered

    Thanks for your fast response! I'll try that asap and post my results soon.

    Cheers!

    Posted 13 years ago on Friday May 20, 2011 | Permalink
  4. Anonymous
    Unregistered

    In the link you provided, you mentioned "Store the value of the post/page custom field in a hidden form field. Then use that form field variable in the To/From/CC/BCC field."

    Could you give me an example of the variable to place in the "To" field. I can only enter an email address without giving me an error. Thank in advance.

    Posted 13 years ago on Friday May 20, 2011 | Permalink
  5. You can get the form field variable (merge code) from using the "Insert form field" drop down on the Message or Subject fields. You can then copy-n-paste it into any of the Notification fields.

    Posted 13 years ago on Friday May 20, 2011 | Permalink
  6. Anonymous
    Unregistered

    Brilliant - thanks again! Works perfectly in addition to Sales Force integration - gotta love Gravity Forms. Keep up the great work!

    Posted 13 years ago on Friday May 20, 2011 | Permalink