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.

dynamically populate a second page

  1. jbro
    Member

    Hi, I've read up on dynamically populating form data — and merge data — and it seems close to what I need to do not quite the right thing.

    I'd like to have a two-step form submission process. On the first page, someone types in a Question on a form with one entry field. They click submit and are brought to a second page (form) with the same Question field (pre-populated with their first submission, and editable), plus new form fields for Name and Email. Clicking Submit on this page sends the form to the Notification addresses specified in settings.

    Everything I've read seems geared towards dynamically populating a form from user data, not from a form submission. Am I on the right track? Can someone point me towards how to make this happen?

    Thanks

    Posted 11 years ago on Wednesday June 12, 2013 | Permalink
  2. You can do this with dynamic population via a query string method as listed here:
    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Basically your first form's confirmation would be a redirect that passes the data via the query string to the page URL where form number 2 resides. On this form you would have the field set to dynamically populate so it reads from your query string you pass over.

    Posted 11 years ago on Wednesday June 12, 2013 | Permalink
  3. jbro
    Member

    Hi Rob, thanks for your reply. Forgive my ignorance — I can set the field to dynamically update — but how do I set the first form to do a redirect that passes the data via a query string?
    Sorry for the newbie question, but your help is much appreciated.
    Thanks

    Posted 11 years ago on Wednesday June 12, 2013 | Permalink
  4. David Peralty

    Under Form Settings Confirmation, you'll edit the default confirmation and change it to redirect and then enter your URL for your second form, and add merge tags to the URL as is shown in the example text on the page. So your URL will look like:

    http://mysite.com/form2/?fname={Name:1}&job={Occupation:2}

    Posted 11 years ago on Wednesday June 12, 2013 | Permalink
  5. jbro
    Member

    that's great; it works! Thank you so much!

    Posted 11 years ago on Wednesday June 12, 2013 | Permalink

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