How to pass value from one form to another form without submission? using a link between forms? 

  • AmourTax
    Asked on January 8, 2016 at 1:09 PM
    How to pass value from one form to another form without submission? using a link between forms? 
  • Charlie
    Replied on January 8, 2016 at 1:13 PM

    I'm not sure if I understood your concern.

    Would you like to pass values from an existing submission from a form directly to another form?

    This is possible by creating your own script using API. Here's our documentation that you can refer to: http://api.jotform.com/docs/#submission-id.

    So basically, this is how you can pass values from existing submissions:

    1. Create your own script and use our API to fetch data from existing submissions

    2. Get the values and prepopulate the 2nd form

     

    I hope that helps.

  • AmourTax
    Replied on January 9, 2016 at 12:21 AM

    Thanks for your help Charlie,

    I have two forms that they are related to each other via a link.

    May main form is:

    https://form.jotform.co/60068080720852?tis1=%7Btis%7D

    The second form that calculates  a details for one field  of the main form is:

    https://form.jotform.co/60068088677871

    Can I transfer data form the second form by clicking on the "save and close "  ?

     

    Thanks

    Mahdi 

  • Kevin Support Team Lead
    Replied on January 9, 2016 at 3:15 PM

    Hi,

    You can achieve it by following the guide provided by my colleague above.

    There is no option to update the link dynamically, however, you can update text, so you can add the value as variable and then show the link, indicating the user to follow it in order to complete the submission.

    I made a sample form based on your explanation, you will find both forms here : 

    The first one : http://form.jotformpro.com/form/60086032432950

    The second one : https://form.jotform.com/60085709878974 

    I also used conditions on the second one.

    This is the only way to achieve that you are trying, other way would be get the Full Source Code and then generate the link with custom Javascript code.

    Hope this helps.

    Thanks.