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.

Submit form to email address contained in a custom field

  1. Hi,

    I hope someone can help me with this. I am working on a WordPress-driven directory website, where each directory listing has a contact email address contained in a custom field. I want to use Gravity Forms to add a standard contact form to the listing template, and when the form is submitted, in addition to the admin email, the notification email goes to the email address contained in the previously mentioned custom field.

    I have searched the support forms and found the following thread that seems to address the same issue: http://www.gravityhelp.com/forums/topic/email-notification-send-to-email-address-pulled-in-from-post-custom-field

    This thread ends with the suggestion of passing the custom field as a hidden field with the form submission. This sounds ace, unfortunately I don't know how to:

    1. Pass a custom field value as a hidden field
    2. Make use of this custom field value in the WordPress Gravity Forms admin area once I have it.

    Any help/pointers greatly appreciated!

    John

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  2. John, what if you just set the custom field to be a type of "email". See this Screenshot

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  3. Hi Rob,

    That look exactly like what I need.

    I've run into a problem, probably my fault:

    I've added a Gravity Forms custom field, set the type as email and told it to use the 'email' custom field from my WordPress Posts.

    In Gravity Forms notifications I have set a user notification to send an email to this email address, but nothing is coming though. Emails arrive at the admin email as normal, but not the email from the custom field. Am I missing something?

    John

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  4. Hi,

    Can anyone help me with this? I've tried adding a Gravity Forms custom field, set the type as email and told it to use the email custom field (which is where the email address I am after is), but the value does not appear to be getting passed to the notification.

    John

    Posted 11 years ago on Monday July 30, 2012 | Permalink
  5. John, can you export your form and send the XML file to me: rob@rocketgenius.com

    Please reference this post in your email.

    Posted 11 years ago on Monday July 30, 2012 | Permalink