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 used on several pages - how can reply-to be dynamic?

  1. Hi,

    I'm not sure this is the right strategy now that I migrated from cForms to Gravity Forms, but I still would like to know how to replicate this functionality from cForms:

    How can I implement the same form on different pages and then change reply-to e-mail and other form settings programmatically based on the current page/post ID?

    Thanks,
    Eivind

    Posted 13 years ago on Tuesday February 1, 2011 | Permalink
  2. Using the gform_pre_submission_filter hook you can modify the form object including the reply-to. Here is a very basic example:

    http://pastie.org/1518901

    Posted 13 years ago on Tuesday February 1, 2011 | Permalink
  3. That's great, David. Is there a full documentation anywhere for what can be modified and what the variables are called?

    Eivind

    Posted 13 years ago on Wednesday February 2, 2011 | Permalink