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.

RE: Passing field value from form A to form B

  1. kayrum
    Member

    Pardon the blond question but I am struggling to pass 3 field values from form A to Form B.

    Once form A is submitted it is redirected to another page with form B which must then be completed, displaying the values of the 3 fields of form A on the top.

    I need the 3 field values from Form A to be passed and displayed on Form B and I had a look at the following: http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    I assume a function will work best for this but but I can't seem to get the syntax correct
    does anyone have an example of such a function so I can see how to call the field names of form A so they get populated in form B

    Posted 11 years ago on Friday October 5, 2012 | Permalink
  2. The query string method should work for you. In your form B you would set the 3 fields you want to be populated dynamically with paramater names of your choosing. Then in form A's confirmation settings, you would use a redirect url and then use the query string builder/area to pass the 3 paramaters and their values.

    ie - paramaternamefield1={field1mergetag}&paramaternamefield2={field2mergetag}&paramaternamefield3={field3mergetag}

    If you have enabled values on those fields you can use those in the merge tags as well, it would look like this:

    paramaternamefield1={field1mergetag:value}&paramaternamefield2={field2mergetag:value}&paramaternamefield3={field3mergetag:value}

    Posted 11 years ago on Friday October 5, 2012 | Permalink