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.

How to pre-populate a 2nd form by submitting the 1st form?

  1. Hedonfire1
    Member

    How do I take the information from one form and populate into another?

    For example I have a small form on my website with 4 drop down boxes. I would like to have the user select the info from the drop down boxes and when they submit the form they are redirected to the real form where the info they submitted in the previous form is already filled in but they must complete the rest of the form.

    Also I don't want the 1st form to try and submit the2nd form resulting in warnings or errors because they have not yet completed required fields in the 2nd form.

    Thanks!

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  2. Here are 2 forum posts that describe how to do this. They were both responses to other users asking the same question.

    http://forum.gravityhelp.com/topic/populating-from-a-previous-form#post-11115

    http://forum.gravityhelp.com/topic/pass-email-entry-from-one-form-to-another

    The 2nd one is more step by step, but read them both as it will give you an idea of how to accomplish this. If you have additional questions, let us know.

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  3. Hedonfire1
    Member

    Hello,

    Thank you for those posts. They were very informative.

    I have a question still.

    I followed all of the steps in the second post and was successful in getting most of the fields to the second form. All except the fields that contained $ dollar signs.

    I have two drop down boxes in my form which ask the user to pick from a few different choices with $'s.

    When i complete the form all of the fields except those with the dollar sings are dynamically populated.

    I tested it by removing the dollar signs from the drop down options and the the form correctly passed the information.

    Is there a way to use dollar signs in the forms and pass the info correctly to the second form?

    Thank you.

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  4. I'll have to replicate this and see what is going on. Dollar signs may not be allowed in the query string, browsers may not handle it properly. I'll take a look, we may have to make changes to Gravity Forms to be sure these are encoded properly when passing them in the querystring.

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  5. Hedonfire1
    Member

    thank you for the quick response

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  6. Hedonfire1
    Member

    i took a look around and I found a form which transfers info from one form to a second form and has dollar signs in it.

    I noticed that the numbers used in the url to transfer the populated field to the second form are different than what gavity forms is using.

    Example First Form:
    http://www.creditcardprocessing-online.us/

    Example the second form:
    http://www.1nbcard.com/aff/application.php?currently_accept=&dest=7&average_charge=%241+-+%2420&camp=pr_online&monthly_volume=&aff_id=na&need_equip=&lang=en&business_type=E-Commerce&Submit.x=37&Submit.y=19

    %241+-+%2420 is used to transfer $1 - $20 from the first form to the second form

    With Gravity Forms the same $1 - $20 is represented as 1%20-%2020 in the transfering URL

    Hope this helps pin point the problem.

    Thanks!

    Posted 13 years ago on Thursday December 30, 2010 | Permalink
  7. I am having a little trouble replicating this problem. What version of Gravity Forms are you using? Also, could you export both your forms (source and target), and send them to me (alex@rocketgenius.com) ?

    Posted 13 years ago on Sunday January 2, 2011 | Permalink

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