How to pass data from one form to another?

  • leadershipdevelopment
    Asked on February 12, 2018 at 12:40 AM

    I want to create a custom URL to send the link from my first form (Camp Supervisor New Hire Form) to pre-populate my second form (Welcome to YMCA Day Camp). Is this something you can help with creating?

    All the fields in the first form are not needed, but some are.

    All the fields in my second form which would pre-populate from identical fields in my first form are below. 

     

  • leadershipdevelopment
    Replied on February 12, 2018 at 12:46 AM

    Oops, it didnt print well. 

    The fields on my 2nd form I want to pre-populate are: 

    Supervisor Name

    Supervisor Email

    Supervisor Title

    Employee Name

    Validated Email Address

    Center Name

    Employee Active Status

    Camp Employee Category

    Day Camp Job

    Which Camp Training/NHO will your new employee attend?

    Background Check Date

    Effective/Start Date

    Training Stipend Amount

    Scheduled Hours Per Pay Period

    Stipend amount per pay period

    Total Stipend Amount

    Hourly Pay Rate


    Thank you. 

  • york
    Replied on February 12, 2018 at 7:07 AM
  • leadershipdevelopment
    Replied on February 12, 2018 at 7:54 AM

    HI,

    Thank you for responding. I know it is possible, I cannot seem to get it right. I could not generate a pre-populated URL either through so this is the one I created.

    Here is the URL I have:

    https://form.jotform.com/leadershipdevelopment/welcome-to-day-camp-?supervisorName[first]={supervisorName21:first_21}&si[supervisorname[last]={supervisorName:last_21}&supervisorEmail= {supervisorEmail43}&supervisorTitle={supervisorTitle}&employeeName[first]={employeeName:first_20}& employeeName[last]={employeeName:last_20}& validatedEmail={validatedEmail}&centerName={ centerName38}&input_36={employeeActive:105_0},{employeeActive:105_1},{employeeActive:105_2}&campEmployee={campEmployee13:13_0},{campEmployee13:13_1},{campEmployee13:13_2}&input_44= {daycamp:input_80_0}, {daycamp:input_80_1},{daycamp:input_80_2},{daycamp:input_80_3},{daycamp:input_80_4},{daycamp:input_80_5},{daycamp:input_80_6},{daycamp:input_80_7}&whichcamp={whichCamp}&backgroundcheck={backgroundCheck}&effectivestartDate={startDateeffective37}&trainingstipend40={trainingStipend}&input_12={scheduledHours}&input_48={stipendAmount}&totalStipend={totalStipend}&hourlypay={hourlyPay}

    It is only passing the Supervisor email and Supervisor Title so I think I am doing something wrong. Please help! Could you look it over and help me fix it. 

    Thanks very much. 

  • David JotForm Support Manager
    Replied on February 12, 2018 at 10:29 AM

    You need to make sure to get the right names of the fields. You can do it using the "inspect element" of your browser, example:

    1518449293lastname Screenshot 10

    So, to pass the Supervisor's first and last name, the URL should be this:

    https://form.jotform.com/leadershipdevelopment/welcome-to-day-camp-?supervisorName[first]={supervisorName21:first}&supervisorName[last]={supervisorName21:last}

    Not this:

    https://form.jotform.com/leadershipdevelopment/welcome-to-day-camp-?supervisorName[first]={supervisorName21:first_21}&si[supervisorname[last]={supervisorName:last_21}