Can I pass the value of a field to another form?

  • Profile Image
    Asked on May 06, 2015 at 02:50 AM

    I have a signup form with fields Name, Email (verified), Company

    The thankyou page is directed to another JotForm (contract)

    Can I pass the field values between the signup form and the contract form?



  • Profile Image
    Answered on May 06, 2015 at 09:13 AM

    Hi Winwintendering,


    Thank you for contacting us.


    This is quite possible with your two forms. But the solution I thought of requires an extra custom (thank you) page. Here's the solution I thought of:


    1. Your first form will redirect to a custom URL thank you page as usual. However, with this solution it should redirect to the new thank you page you will create in item (2). Also, you need to enable your first form to send POST data to your new page. Here's a guide on how to Send POST Data From JotForm Using PHP in Custom Thank You Page.


    2. Your new thank you page should handle the POST data passed to it by the first form using PHP script (requires knowledge in PHP). The thank you page should redirect to your second form passing a URL parameter. For example:


    $data = $_POST[{data from first form}];

    header("Location:" . $data); // redirect to second form



    3. The 2nd form should handle the URL parameter sent to it by the page in item (2). Here's a guide on Prepopulating fields to your JotForm via URL parameters.


    I hope that helps. If you can specify the data that need(s) to be passed between your two forms, it would be great.