What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Inserting Data From One Form To Another Using PHP Script?

    Asked by kauseway on January 16, 2015 at 01:48 PM

    Right now we have 2 jotforms that are embeded via Iframe. The first sends http post data to the second.  Can I have someone build a custom form and that form send information into the second form? Can we use the same http post method with PHP that we are currently using? Or does the second form now have to be embeded with source code?


    https://naturalcarecleaningservice.com/book-now  to



    followup, when I embed with source code I have lost all my styling. Is that supposed to happen? So if I embed with source I will need to manually restyle the form in css?

  • Profile Image
    JotForm Support

    Answered by Charlie on January 16, 2015 at 02:58 PM


    I'm not sure how you have coded your PHP script, if you would could share it with us we can check it and see how it works.

    You can check this guide on how to send POST Data to a PHP script. Here's a guide for that: How To Send POST Data Using PHP in Custom Thank You Page URL 

    You could also check Webhook so that you can easily add a PHP script to your form: How To Setup Webhook 

    Example of what I can do.

    1. Form 1 has custom Thank You Page which is www.mywebsite.com/redirect.php

    2. redirect.php fetches POST data from Form 1 and appends those variables to Form 2.

    3. Form 2 is embedded in redirect.php

    4. To prepopulate the Form 2 you can use the guide above.


    I hope this helps. Let us know if this works.

    Thank you.