How to pre-populate fields when resubmitting a form?

  • kappa_psi
    Asked on October 10, 2018 at 7:42 PM

    I am trying to set up a registration form on my laptop so that certain fields will auto-populate. For example, if I am signing up students for my club at a freshman open house, I would like their graduation year to auto-populate since I know everyone there signing up is a freshman and I want their school to auto-populate since everyone there will be from the same university. 

    How I envision this working is on the first page, it will have a form for the person setting up the laptop to enter in defaults such as school, year of graduation, and "how did you hear about us". Then, on the second page will be the form for each registrant to enter their unique info. After hitting submit, the form would refresh and stay on the second page.

  • John_Benson
    Replied on October 10, 2018 at 10:39 PM

    Please check this guide: https://www.jotform.com/help/528-How-to-Pre-Populate-the-Same-Form-with-Data-from-a-Previous-Submission

    Is that what you're trying to accomplish?

    If not, please contact us again. Thank you.

  • kappa_psi
    Replied on October 12, 2018 at 1:24 AM

    Yes, this solves my problem, however, for fields like phone number and address where there are several text boxes per question, in the new field, all the info gets copied over to the first box. How do I separate them out?

  • roneet
    Replied on October 12, 2018 at 4:15 AM

    To populate Phone Field:

    https://form.jotform.com/82835308234962?phoneNumber[area]={phoneNumber:area}&phoneNumber[phone]={phoneNumber:phone}

    To Populate Address Field:

    https://form.jotform.com/82835308234962?address[addr_line1]={address:addr_line1}&address[addr_line2]={address:addr_line2}&address[city]={address:city}&address[state]={address:state}&address[postal]={address:postal}

    Let us know if this was helpful.

    Thanks.