How to get post data from form on my external thank you page?

  • nsaa360
    Asked on February 12, 2018 at 2:00 PM

    I'm trying to use $_POST['form_field_name']; to get the data but it's not working

    the only thing that works is $_GET using the ?formFieldName={form_field_name}&...

  • Kiran Support Team Lead
    Replied on February 12, 2018 at 2:37 PM

    $POST should be working fine. We request you to go through the guide below that can help you with achieving your requirement.

    https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    If you need any further assistance, please let us know. We will be happy to help.

  • nsaa360
    Replied on February 12, 2018 at 8:12 PM

    in this example the redirect goes to https://www.jotform.com/show-post-data/ but I want it to go to mywebsite.com/thankyou.php how do I do that?

  • Kiran Support Team Lead
    Replied on February 12, 2018 at 11:15 PM

    You may enable the Send Post Data option from the form settings and then redirect the Thank you page to your external web page displayed with the POST variables. Following is the guide that can help you with this.

    https://www.jotform.com/help/213-Send-Submission-Data-via-Post-Method-and-Thank-You-Settings

    Hope this information helps!