$_POST contains empty array on external thank you page

  • Profile Image
    chipneedham
    Asked 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?

  • Profile Image
    Helen
    Answered 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
    chipneedham
    Answered on April 19, 2017 at 02:53 PM

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

  • Profile Image
    chipneedham
    Answered 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
    Kiran
    Answered 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.