How to pass data from one embedded form to another embedded form?

  • Profile Image
    Asked on April 05, 2017 at 02:11 PM

    I have a registration divided in 2 forms (by clients request), in the first form we have 5 basic fields (one is hidden) and when the person hits continue it takes them to a second form where the info from the first form is prepopulated in hidden fields in the second form plus a few more fields.

    At first I had the first form in my website with the option, but when hitting continue, it opens the second form in jotform directly (so the person is taken out of my wordpress site), I was told by a friend that by publishing the form in wordpress with the Iframe I could have the second form still show in my wordpress site, however this is not happenning.... is there actualy a way to to this? what am I doing wrong?

    this is a test form that I´m playing with:

    thanks in advance

  • Profile Image
    Answered on April 05, 2017 at 04:04 PM

    I am not exactly sure if this is possible. First you will need to redirect your first form to your second embedded form. 

    Redirecting Users to a Different Page

    You can try to append filed values to URL of your webpage, like my colleage suggest on this thread: 

    Also please check this guide:

    How to Automatically Pass Form Data to Another Form 

    Let us know if you need further assistance.

  • Profile Image
    Answered on April 07, 2017 at 01:49 AM

    Actualy the question is not how to pass info from one form to another, I got that covered, thankyou. What I would like to do is not have to change the url at top, so people won´t see the code, because if they do, someone might change the amounts and affect the results... Thats why I was told to use the iframe, so the form would change with in the iframe, but would still be at the same url...

    like in the example bellow, I dont want this to be shown when changing from one form to another...[first]=mendoza&fullName[last]={fullName:last&[addr_line1]=lne&address[addr_line2]=lndf2&address[city]=city&address[state]=stt&address[postal]=zip&address[country]=Macau&cellNumber=55&areYou=Travel%20Agent&uniqueId=LOVE-016&wouldYou36=No

  • Profile Image
    Answered on April 07, 2017 at 02:06 AM

    Unfortunately, there is other simple way on how to achieve this other than populating via URL parameters. Instead, if you would like to make it load on the back-end, you will need to have your own database on your website.

    So it's like that your first form, will submit at the back-end either with use of webhook or with your thank you page redirected to a page or script that will capture and store the POST data from your form. And this page or script will process to store the data to your own database on you website.

    Then let a server-side processing like with the use of PHP and AJAX to pull the data from your database to your page with the 2nd form in it and it will assign values to the fields. 


    Here is a guide on how to use webhooks:

    Here is a guide on how to enable sending POST data to your thank you page: 

    Here is a sample guide on how to make use of your form to submit data to your own MySQL database using PHP:

    If you think this is the way to go and/or you need assistance on this, please let us know. We'll be more than happy to assist.