Hi Jotform Team,Is it possible to pass data from Form 1 to Form 2 but t

  • Profile Image
    nsparksbizservices
    Asked on August 27, 2019 at 06:37 AM

    Hi Jotform Team,

    Is it possible to pass data from Form 1 to Form 2 but then have Form 2 also automatically Submit?



    This is a re-post of a comment on How to Automatically Pass Form Data to Another Form

  • Profile Image
    sonerdurmaz
    Answered on August 27, 2019 at 09:06 AM

    You can do this by using global countdown in this way, when you redirected to form2, it will wait for a second then will be submitted. Now, let me explain you how can do this starting with passing data between forms. Please take these steps:

    1) Learn field names of both forms. You can do these steps on each field: choose field -> click options -> click advanced -> click field details and you will see unique name and that is.

    1566910858Screen Shot 2019-08-27 at 15.5

    2) Create a url for prepopulation by using field names.

    like that :link_of_the_form2?field1_name_in_form2={field1_name_in_form1}&field2_name_in_form2={field1_name_in_form1}.... and so on.

    3) In form1, instead of directing users to thank you page direct them to the prepopulation url you created one step before. You can do this by taking following steps:

    In form builder, click to settings then click thank you page then click redirect to external link and paste the link.

    1566910954Screen Shot 2019-08-27 at 16.0

    4) Add global countdown widget to form2 then click widget and click widget settings then set seconds to 1. Also, to hide the global countdown add the following css code to your form2:

    iframe[src*="countdown"] {

    display : none;

    }

    That's all.

    I also created two very basic form to implement this you can examine them by cloning.

    Form1: https://form.jotform.com/92383471188970

    Form2: https://form.jotform.com/92382815064964

    Cloning Guide: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    If you have any further help, please let us know.