How to open the same form on submitting with prepopulated data?

  • stbrendan
    Asked on August 28, 2017 at 11:06 PM

    2) Now that the form repeats for the "Member Registration" above, I need each registered family member to have their own record when submitted. Thus, when I view the submissions each member of the family would have a record. The following family contact information should carry over and recorded for each submission.

    Date

    Number Assigned to the Family

    Family Contact Person

    Telephone Number

    Email Address

     

    Thank you tons!!! I hope that this makes sense.

    Kelle

    URL: https://form.jotformpro.com/52855237597974

  • Nik_C
    Replied on August 29, 2017 at 1:26 AM

    When the form is submitted the first time, and if they clicked Yes (for another family member) the form will open again. 

    And the data you listed should show.

    So to do that you have to use this URL: 

    https://form.jotformpro.com/52855237597974?currentDate3[month]={currentDate3:month}&currentDate3[day]={currentDate3:day}&currentDate3[year]={currentDate3:year}&numberAssigned={numberAssigned}&familyContact[first]={familyContact:first}&familyContact[last]={familyContact:last}&bestPhone[full]={bestPhone:full}&email15={email15}

    And create this condition:

    How to open the same form on submitting with prepopulated data? Image 1 Screenshot 20

    So if the Yes is selected for new member, the same form will open with prefilled data from previous entry.

    Is that what you had in mind?

    Please let us know.

    Thank you!

  • stbrendan
    Replied on August 29, 2017 at 9:50 AM

    Hello and thank you for your help!! Yes, this is exactly what I needed. But how can I also have the data pre-populated for Person Handling Registration. Just like what you did above for contact information. Where do I add that in my form?

     

    Thanks for your help!

    :)Kelle

  • Elton Support Team Lead
    Replied on August 29, 2017 at 11:02 AM

    You have to create a change thank you page condition.

    Here's how:

    How to open the same form on submitting with prepopulated data? Image 1 Screenshot 30

    Then as suggested by my colleague, create the following so when the user pick yes on "Would you like to register another family..." field, your form will redirect to the pre-populated URL once it's submitted.

    The variables wrapped with braces in the form URL e.g. {email15} will be replaced with the actual field value.

    How to open the same form on submitting with prepopulated data? Image 2 Screenshot 41

    And for your reference, here's a guide on how to construct URL with parameters to prepopulate the fields.

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