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.

How to send form to E-Mail adress that is taken from custom field?

  1. McNitefly
    Member

    Dear support team,
    I already tried to find the answer in the forum as I'm sure it has already been answered somewhere, but somehow I cannot find it. So sorry in case this is a redundant one:

    I have a form (let's call it form No. 2) on posts that have been automatically created by another form (Let's call that one Form No. 1). (Great feature by the way :-)).

    When form No. 1 created the posts, it added the e-mail adress that was filled in by the person filling the form into a custom field.

    I want the form No. 2 to be sent to the e-mail adress that can be found in the custom field of each post when somebody filles that form No2 and sends it.

    How can I achieve that?

    Thanks for your help,
    McNitefly

    Posted 7 years ago on Tuesday October 30, 2012 | Permalink
  2. You can access a custom field in any post by using this merge tag in your form:

    {custom_field:email}

    where "email" is the literal meta_key name you used as your custom field name.

    This topic explains in more detail:
    http://www.gravityhelp.com/forums/topic/send-to-an-email-stored-in-a-custom-field

    Specifically this reply:
    http://www.gravityhelp.com/forums/topic/send-to-an-email-stored-in-a-custom-field#post-80093

    Posted 7 years ago on Wednesday October 31, 2012 | Permalink
  3. McNitefly
    Member

    All right, that sounds easy - thanks a lot!

    Kind regards,
    McNitefly

    Posted 7 years ago on Wednesday October 31, 2012 | Permalink
  4. You're welcome. Let us know if you need any additional assistance.

    Posted 7 years ago on Wednesday October 31, 2012 | Permalink