How to copy value from one to another form

  • BodygroupInt
    Asked on March 7, 2016 at 5:02 AM

    I have a selection list where it updates another field based on an answer

     

    eg if the user picks

     

    United Kingdom as their country it inserts UK into another field (hidden)

     

    i want to copy this as there are alot of conditions on this for each country

     

    is it possible to move to another form (already created) 

     

    Thanks

  • Nik_C
    Replied on March 7, 2016 at 10:14 AM

    Hello,

    If you would like to copy that value and send to another form you could try to pass values between forms, please follow:

    So, what you would do is:

    1. Copy the field tags of your first form that you would like to transfer to second form:

    How to copy value from one to another form Image 1 Screenshot 60How to copy value from one to another form Image 2 Screenshot 71

    2. Now you will have to have your URL of the second form, for example: https://jotform.com/12345678901234 and now you will construct your URL that will transfer value from first to second form, please check this link for more explanation.

    For example, it should look like this  https://jotform.com/12345678901234?country={countryOfdes}

    So, you have your link of the second form, country is name of field on your second form where you would like to copy value from your first form, and {countryOfdes} is value from your first form.

    3. To get the name of your field on second form, please follow:

    How to copy value from one to another form Image 3 Screenshot 82

    Name of that field is countryOfdes without underscore and prefix 'q120'.

    4. Last step is to set up your Thank you page, so the configured URL with value that you would like to transfer is set as Thank you page. To do set your Custom Thank you page URL please check this guide.

    Go to your Thank you page:

    How to copy value from one to another form Image 4 Screenshot 93

    And click Redirect to page:

    How to copy value from one to another form Image 5 Screenshot 104

    There you will put constructed URL with values that you would like to transfer.

    After all this set up, when you submit your form, it should redirect to second form and your field on the second form should be prepopulated with data from the first form.

    Please let me know if you have any additional question.

    Best regards.