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

    $_POST contains empty array on external thank you page

    Asked by chipneedham on April 19, 2017 at 08:37 AM

    I am having issues with sending $_POST data to an external thank you page.

    The form (yes post data is turned on): https://form.jotform.co/71083125989868

    The Thank You Page: http://cyoacharters.com/post_test.php

    The Thank You Page contents:

    <?php

    print_r ($_POST);

    ?>

     

    Any ideas on what the problem is?

    Page URL:
    https://form.jotform.co/71083125989868

  • Profile Image
    JotForm Developer

    Answered by Helen on April 19, 2017 at 09:37 AM

    Hello,

    Thank you for contacting us.

    I have opened a new form in order to test on my side. Firstly, I set the "Sent Post Data" from NO to YES.

    Then, I have created a PHP file and pasted your code:

     

    I have pasted my PHP page's link to thank you page:

    Here is a result, everything works properly on my side:

    Please check all these steps and try to replicate it again. If you have still a problem, please let us know.

    Also, here is a guide helps to you: https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    We will be waiting for your response.

  • Profile Image

    Answered by chipneedham on April 19, 2017 at 02:53 PM

    I ran through everything again, here's what I got:

  • Profile Image

    Answered by chipneedham on April 19, 2017 at 03:24 PM

    After weeks of testing without changing anything on my end, It finally just started working again.(It was all working before) What happened?

  • Profile Image
    JotForm Support

    Answered by Kiran on April 19, 2017 at 05:11 PM

    I am not sure what exactly happened that stopped the script to run then. I have tested your form and script on my test form. I see that the array is being displayed without any issue after submitting the form.

    If you notice any issue with the form, please let us know. We will be happy to take a look again.