$_POST contains empty array on external thank you page

  • chipneedham
    Asked on April 19, 2017 at 8: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?

  • Helen
    Replied on April 19, 2017 at 9: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.

    $ POST contains empty array on external thank you page Image 1 Screenshot 40

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

     

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

    $ POST contains empty array on external thank you page Image 2 Screenshot 51

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

    $ POST contains empty array on external thank you page Image 3 Screenshot 62

    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.

  • chipneedham
    Replied on April 19, 2017 at 2:53 PM

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

    $ POST contains empty array on external thank you page Image 1 Screenshot 50

    $ POST contains empty array on external thank you page Image 2 Screenshot 61

    $ POST contains empty array on external thank you page Image 3 Screenshot 72

    $ POST contains empty array on external thank you page Image 4 Screenshot 83

  • chipneedham
    Replied on April 19, 2017 at 3: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?

  • Kiran Support Team Lead
    Replied on April 19, 2017 at 5: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.