How to pass value from one form to another form

  • billylevine2003gmailcom
    Answered on June 26, 2013 05:54 PM

    In the above example how do I pass it the value of the field instead of hard coded value.

    In my application I am feeding a second jot form from a parent jotform and I want to pass values from one the other

  • Elton Support Team Lead
    Answered on June 26, 2013 08:50 PM

    Hi,

    That's possible. Here's a guide:

    1. Copy the field variables in your 1st form. These variables must be the fields that you'd like to transfer into the 2nd form.

    To get field variables,

    Go to field Properties > Advanced tab > Field Details > Copy the Unique Name

    Make sure it is wrapped with curly braces e.g. in this example the field variable is {email}

    01162021 2n6QiBp3Y7 Screenshot 10

    2. Copy your 2nd Form URL e.g. https://www.jotform.com/form/1235678901 and construct the URL parameter for prepopulating value from the 1st form to the 2nd form. Prepopulating the fields to your JotForm via URL parameters.

    Example: https://www.jotform.com/form/1235678901?name1={name}&email21={email}

    To explain:

    https://www.jotform.com/form/1235678901  - is your second form URL

    {name} & {email} - These are field variables from your first form as explained on the first step.

    name1 & email21  These are field names from the second form. This is where the value from the first form be prefilled in. Check below to learn how to get field names from your 2nd form through browser inspect element.

    To get your 2nd form's field names,

    a. Open the 2nd form with your Google Chrome Browser,

    b. Right-click the text box where you'd like to get its name,

    c. Select Inspect Element and copy the field name in the source code below under name attribute after undercore "_".

    get field name inspect element Screenshot 21

     

    3. Last and final step, set the constructed URL with parameter as your Thank you Custom URL. Here's how:

    01162021 eXMynj4Raj Screenshot 32

    After this, try submitting your first form with sample data, it should then redirect to your 2nd form with the prefilled data from the first form.

    Let us know if you have further questions. Best Regards!

  • hehacliff
    Answered on January 17, 2014 11:05 AM

    Excellent ! ! ! ! Very helpful thanks !!!!

  • digiosolutions
    Answered on March 08, 2014 06:05 PM

    Is this possible if the thank you page sends user to another non-jotform page with jotform of the 2nd form embedded on it (using the modified url parameters as the source of the form)?

     

    If that's possible it will be amazing!

  • Elton Support Team Lead
    Answered on March 08, 2014 06:49 PM

    @digiosolutions

    If the 2nd form was embedded using its source code, then that's possible. However, may we suggest you first to post your question to a separate thread and provide the mentioned URLs so we can assist you further.

    Thanks!

  • Welvin Support Team Lead
    Answered on April 21, 2015 01:51 PM

    @Chosen_B, 

    Your question will be answered here: http://www.jotform.com/answers/556433.

    Thanks

  • AmourTax
    Answered on January 08, 2016 10:12 AM
    How to pass value from one form to another form without submission? using a link between forms? 
  • Charlie
    Answered on January 08, 2016 01:10 PM

    @AmourTax

    I have opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/739989. We will address it shortly.

    Thank you.

  • dmichaels
    Answered on March 09, 2016 10:30 AM

    I got the form fields to pass to a second form using the Submit button, but can not make it work for a url in a label...When I get to the second form, the fields get filled in with the label name instead of the value.

    The link LOOKS good before you click it (it shows the values), but when it gets to the second form, it's NG

    OBVIOUSLY, it's some small, dumb thing I'm doing wrong.

    https://form.jotform.com/60665692617970

    Thanks,

    David

  • Charlie
    Answered on March 09, 2016 10:35 AM

    @dmichaels

    Thank you for contacting us, I went ahead and opened a separate thread for your concern. Please refer to this link instead: http://www.jotform.com/answers/790934. We will address it shortly.