How to Post Submission Data to Thank You Page

April 22, 2022

Send Post Data is a feature that allows you to post form data to your Thank You page.

Some use cases:

  • Save data to a MySQL Database using your own server-side script.
  • Display form data to your custom thank you page using a PHP script.
  • Pass form data to any 3rd party services that accept HTTP Post.

To post form data to your Thank You page, please follow these steps:

  1. Go to the Settings tab in the Form Builder.
  2. Click the Show More Options button.
  1. Scroll down to the Send Post Data option, then set it to “Yes”.
  1. Next, click Thank You Page on the left.
  2. Select the Redirect to an external link after submission option.
  3. Enter the destination URL.

To get the POST data variables along with pre-formatted PHP codes, use the following as the destination URL:

Send a test entry to your form, you should be able to see POST data variables along with the preformatted PHP codes. Here’s a demo form to see it in action:

Sample result:

Data Submitted:
Array (     [submission_id] => 5264586364403223222     [formID] => 213185545698973     [ip] =>     [name] => Array         (             [0] => Jane             [1] => Doe         )     [email] =>     [message] => Voluptatibus aut dolor tempora aute nostrum debiti. )
PHP Code:

Comments and suggestions are welcome below. If you have a question, post it in our Support Forum so we can assist you.

Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.