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.

Widget Form Pass Data to Larger Form

  1. How can I configure a widget form to pass data onto a larger, full size form?

    For example, if someone puts information, like their name, into a widget form, clicking next would take them to the second step of a full size form, with the first step being completed (in this case the users name).

    Generally this would be easy (using the $_POST global var) but the full form is going to be a multi-step form so its not just a matter of populating fields on the current step, I need to populate fields on the first step.

    Any help would be appreciated.

    Posted 13 years ago on Tuesday August 16, 2011 | Permalink
  2. I think you are looking for something like this:

    http://www.gravityhelp.com/forums/topic/skip-to-second-page-when-page-1-is-dynamically-populated

    Posted 13 years ago on Tuesday August 16, 2011 | Permalink
  3. After reading the docs, I came up with a solution using the gform_field_value_$value filter.

    Here's my code (sorry, no idea how to post code snippets):

    http://www.pastie.org/2379144

    I just made a custom form and set it to post to the full form page.

    http://www.pastie.org/2379159

    This is from my functions.php.

    Just set the variables and you should be set to go. For anyone wanting to use the gravity forms widget, Chris' solution should work.

    Thanks for the help.

    Posted 13 years ago on Tuesday August 16, 2011 | Permalink
  4. You found the perfect way to post code snippets, thank you. Glad you got that resolved to your satisfaction.

    Posted 13 years ago on Tuesday August 16, 2011 | Permalink

This topic has been resolved and has been closed to new replies.