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

    Passing data from one form to another using POST data in Thank you page

    Asked by Bill Talero  on May 12, 2015 at 09:07 AM

    I have created two forms. the first form is a medical survey called Sleep_Questions(SQ) , the second form is a physician prescription form called 'RX_generator(RX).

     

    Background:

    The SQ survey and the RX forms have the same exact same fields. the difference is in the design. The RX form is a what the physician will use to request a sleep test for the visitor.

     

    So here is what I am trying to accomplish:

    1. when a visitor goes to our site, he/she will complete the SQ survey and press 'submit' when done.

    2. upon submission of the SQ form two thing should happen. First the data from SQ goes to a database table on the server. Second(should be in real time) the data is also sent to the RX form.

    3.

    the RX form should be emailed to the physician as a PDF that looks like the RX form.

     

    I am probably making this more difficult than it needs to be.

    Your suggestions are welcome.

     

    Kind Regards,

    Bill Talero

    Links:

    SQ: http://www.sleeptestnow.com/Sleep-Questions/sleep-questions.html

    RX: http://www.sleeptestnow.com/Rx-Generator/rx-generator.html

    Page URL:
    http://www.sleeptestnow.com/Sleep-Questions/sleep-questions.html

    form data survey table two forms POST thank you page URL parameters
  • Profile Image
    JotForm Support

    Answered by Jan on May 12, 2015 at 11:51 AM

    Once the form is submitted, the data is automatically goes to the server. 

    You want to use the same data answered from the 1st form to the 2nd form right?  It is possible to prepopulate the 2nd form with the answers from the 1st form. The Thank you page(custom URL) of the 1st form should be the 2nd form's URL with parameters.

    Please check this very helpful guides:

    Send POST Data from JotForm using PHP in Custom Thank You page
    Prepopulating fields to your JotForm via URL parameters

  • Profile Image
    JotForm Support

    Answered by Jan on May 12, 2015 at 11:52 AM

    I moved your other inquiry about downloading the submission as a PDF on the email notifications. This is the URL: http://www.jotform.com/answers/568402

    Thank you for understanding.