What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can a form be repopulated with previous details?

    Asked by Vivi Hoang  on October 09, 2015 at 02:33 PM

    Hello, my organization accepts purchase requests from the public. We're interested in a form that allows the customer to fill in their personal information and then information about the item they want us to purchase.

    After they submit the request, we'd like to give them the option to fill out the form again for a new item -- but with the personal information fields automatically populated with their previous details so they don't have to fill those in again. Would this be possible with a paid account of JotForm?

    Page URL:
    N/A

    details JotForm purchase fill paid account
  • Profile Image
    JotForm Support

    Answered by Kiran on October 09, 2015 at 05:04 PM

    Yes. It is possible to generate a link with submitted information that helps the user to populate the fields automatically. This link can be placed on the Thank you page so that clicking on the link will open a new form with the fields prepopulated.

    Please refer to the answer by our colleague Mike in the thread below that helps you in generating dynamic link with pre-populated fields

    http://www.jotform.com/answers/93645

    Also, please refer to the guide below that can help you in prepopulating fields using URL parameters

    http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters

    Hope this information helps. Let us know if you need any further assistance. We will be happy to help.

  • Profile Image

    Answered by KentDistrictLibrary on October 13, 2015 at 03:51 PM

    Kiran, thanks for your help. Based on the guides, I tried fashioning a dynamic link with pre-populated First and Last Name fields as a test. I put the link on the Thank You page. However, when I click on the link, while it takes me back to the form, the First and Last Name fields are blank.

    Here's the test link:

    https://form.jotform.com/52853894953169?fullName[first]={fullName:first}&fullName[last]={fullName2:last}

    Is the syntax correct?

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on October 13, 2015 at 06:17 PM

    If you want to populate a form dynamically from another form, you must be careful with the variable fields.

    In your particular form, the syntax is wrong.  I set equal to the variables of my first form which is a test form which carries the values from the variable {fullName1} in your form, to variable {fullName3} in my form.

    So, I made your form as part of my thank you page, here is the sintax:

     
    And here is my demo form:
     
     
    To make it to work dynamically, you must enable the HTTP POST ( Send Post Data)
     
     
    I hope this helps, do get back to us should you need further help.
  • Profile Image

    Answered by KentDistrictLibrary on October 15, 2015 at 09:47 AM

    Hi Jeanette, thank you for the corrected syntax.

    I did enable Send Post Data to Yes. In my thank-you note, I have the text "Submit another Recommend a Purchase item" linked to: https://form.jotform.com/52853894953169?fullName1[first]={fullName3:first}&fullName1[last]={fullName3:last}&libraryCard3={libraryCard3}&branchWhered={branchWhered}&email={email}. However, this URL does not re-populate the First and Last Names. (The other three fields do successfully re-populate.)

    Am I missing a step?

  • Profile Image

    Answered by Ben on October 15, 2015 at 11:22 AM

    Please note that each form can have different values so while {fullName1} is correct in one form {fullName3} or {name} could be the correct value for the other form.

    Now I would first like to check with you if you are looking to redirect people from the form that they are filling out to the same form - just with some of the details already filled out, or are you looking to redirect them to a different form instead?

    The reason why I ask this is to avoid any confusion, since if you are using the same form, then the fields have the same tags / names, but if you are using other forms, then they could have different values.

    I will take it as if you want to have your users:

    1. Access this form: https://form.jotform.com/52853894953169
    2. get redirected to the same form: https://form.jotform.com/52853894953169

    Now you can see a similar setup that I am helping with on another thread here: How can I create multiple records for the same family without retyping the information?

    Now my suggestion is to add an option to ask them if they wish to purchase another item, which will redirect them back to the pre-filled form: Configuring Change Thank You URL after submission condition and if they do not wish, they get a nice Thank You page shown for them :)

    As mentioned, I presume that you will be taking them to the same form, so the correct URL to pass:

    1. Full Name

    2. Library Card Number

    3. Branch where'd you like to pick up your item(s)

    4. E-mail

    would be:

    https://form.jotform.com/52853894953169?fullName1[first]={fullName1:first}&fullName1[last]={fullName1:last}&libraryCard3={libraryCard3}&branchWhered={branchWhered}&email={email}

    The way that I got the field names that should be used is by following the steps shown here: How to find Field IDs & Names

    Now, that URL can be used always - so every time they submit the form they are taken to it with these details added. For that you should follow these steps: Redirecting Users to a Different Page

    If however you want to thank them for submitting their order and redirect them if needed, the guide I have mentioned previously is the way to go: Configuring Change Thank You URL after submission condition

    We are however here if you happen to have any additional questions or issues and would be happy to assist with the same :)

  • Profile Image

    Answered by KentDistrictLibrary on October 15, 2015 at 01:12 PM

    Hi Ben, your response was just what I needed. My form works the way I'd like now. I appreciate your reworking my URL and pointing me to those additional resources!

  • Profile Image
    JotForm Support

    Answered by Kiran on October 15, 2015 at 02:20 PM

    You are welcome. Glad to see that the issue is now resolved. Please do not hesitate to get in touch with us if you need any further assistance. We will be happy to help.

    Thank you for using JotForm!!