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.

Submit for a second time

  1. mrdon
    Member

    Is there a way that I can make it so that after a user submit's a form, they are taken to the thank you page and it can have a button or link that says "submit another", and when clicked, they will be taken back to the original form and some of the fields that they previously filled in (name, phone, etc.) can retain the info that they had previously filled in?

    Thanks,
    Brandon

    Posted 12 years ago on Monday October 24, 2011 | Permalink
  2. You could have a text confirmation, then build a query string and assign that to a link. The query string would have all the values you want to pre-populate for their second form submission, and would be a link back to this same form. You'd have to set up the form fields to be populated dynamically. The first time around, the fields would be empty, but the second time, they would be pre-filled with the data they submitted.

    This would be done in the text confirmation.

    I set up a quick form here. The first name, last name, and phone will be pre-populated for the second and subsequent submissions: http://gravity.chrishajer.com/pre-populate-fields-for-next-submission/

    Here is the text confirmation I used:

    [html]
    Thank you for your submission.  <a href="http://gravity.chrishajer.com/pre-populate-fields-for-next-submission/?fname={Name (First):1.3}&lname={Name (Last):1.6}&phone={Phone:4}">Submit another</a>?

    I checked the box "Allow field to be populated dynamically" on the advanced tab for the name and phone field. I used parameter names of fname, lname and phone, which you can see match the query string parameter names. They must match exactly.

    Posted 12 years ago on Tuesday October 25, 2011 | Permalink
  3. mrdon
    Member

    Awesome! Thanks for your help Chris....I am going to give it a shot now.

    Brandon

    Posted 12 years ago on Wednesday October 26, 2011 | Permalink
  4. mrdon
    Member

    It worked perfectly! Thanks again.

    Posted 12 years ago on Wednesday October 26, 2011 | Permalink
  5. Thank you for the update. That's pretty cool it works like that. I am going to use that on a couple forms I created :-)

    Posted 12 years ago on Thursday October 27, 2011 | Permalink

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