The Send Post Data option in the Form Builder allows you to send your form data to an endpoint via an HTTP POST request. You can use https://www.jotform.com/show-post-data/ as the endpoint or destination URL to view your submissions as POST data for debugging purposes.
To set it up
- In the Form Builder, go to Settings at the top.
- Select Show More Options at the bottom.

- Scroll down to Send Post Data and set it to “Enabled.”

- Next, in the left pane, go to Thank You Page.

- Select Redirect to an external link after submission.
- Enter https://www.jotform.com/show-post-data/ as the destination URL.

- Send a test entry to your form to check the results.
You should be able to see your submission’s data structure and POST variables.
Sample result:
Data Submitted:
Array ( [submission_id] => 5264586364403223222 [formID] => 213185545698973 [ip] => 10.146.210.44 [name] => Array ( [first] => Jane [last] => Doe ) [email] => jane.doe@jotform.com [message] => Lorem ipsum dolor sit amet consectetur. )
PHP Code:
$_POST['submission_id'];
$_POST['formID'];
$_POST['ip'];
$_POST['name']['first'];$_POST['name']['last'];
$_POST['email'];
$_POST['message'];
You can try it out in this demo form.
Send Comment:
79 Comments:
Hello,
webhook body data is sent in PHP format not JSON. Some backend platforms as retool read json objects not php as incoming webhooks. Is it posibble to transform it to json array? I know i can use auotmation services to read it and process it but im trying to use the post data directly to retool databse. Am i a little lost here?
So a user is going to see code after submission?
Is this obsolete? I don't get a thank you page choice on my menu.
Thank you for such valuable information.
It is taking too much time after submitting the data to get result,
Help
Thanks a lot.
But do this script work with PHP7?
Or are some changes to 'mysqli' necessary?
regards,
Sascha
I am trying to use Sinatra (Ruby) to read the Jotform POST data.
But All I get is the raw multipart data. Can anyone assist?
--------------------------12345
Content-Disposition: form-data; name="formID"
3456789
--------------------------12345
Content-Disposition: form-data; name="submissionID"
3456789
--------------------------12345
Content-Disposition: form-data; name="webhookURL"
url
--------------------------12345
Content-Disposition: form-data; name="ip"
0.0.0.0
--------------------------12345
Content-Disposition: form-data; name="formTitle"
Title
--------------------------12345
Content-Disposition: form-data; name="pretty"
data
--------------------------12345
Content-Disposition: form-data; name="username"
asdfghj
--------------------------12345
Content-Disposition: form-data; name="rawRequest"
{"slug":"submit//","q13_dashboardUserID":"","q12_0":"@live.com","q15_dashboardMobile":"","q16_dashboardUsername":"","q17_dashboardGin":"","q3_1":"28 - 35","q4_2":"R20 000 - R30 000","q5_3":"Married","q6_4":"Yes","q7_5":"","q8_6":"software engineer","q9_7":"Yes","q10_8":"3","q11_9":{"area":"","phone":""},"preview":"true"}
--------------------------12345
Content-Disposition: form-data; name="type"
WEB
--------------------------12345--
Hey Charmiequino, I would like to connect through linkedin.
Here's the link.
transfer data from one form to another form after submit
How can i add a pie graph that takes values for four colors, each colour takes value from a hidden field that calculates average score of some suvey questions. ?
I have my POST data. Now what do I do with it? Are there instructions somewhere to get this into the Thank you page? Mine looks like this:
Data Submitted:
Array
(
[submission_id] => 4318384528217938086
[formID] => 91123501164949
[ip] => 73.252.91.128
[namegroup] => Some Name
[email4] => john@example.com
[phonenumber5] => Array
(
[0] => 312
[1] => 312-4444
)
[fridayshift] => Array
(
[0] => 9:30AM - 12:30PM
[1] => 12:30 - 3:30PM
[2] => 3:30 - 6:30PM
[3] => 6:30 - 9:30PM
)
[saturdayshift] => Array
(
[0] => 9:30AM - 12:30PM
[1] => 12:30 - 3:30PM
[2] => 3:30 - 6:30PM
[3] => 6:30 - 9:30PM
)
[sundayshift] => Array
(
[0] => 9:30AM - 12:30PM
[1] => 12:30 - 3:30PM
[2] => 3:30 - 6:30PM
)
)
PHP Code:
$_POST['submission_id'];
$_POST['formID'];
$_POST['ip'];
$_POST['namegroup'];
$_POST['email4'];
$_POST['phonenumber5']['0'];$_POST['phonenumber5']['1'];
$_POST['fridayshift']['0'];$_POST['fridayshift']['1'];$_POST['fridayshift']['2'];$_POST['fridayshift']['3'];
$_POST['saturdayshift']['0'];$_POST['saturdayshift']['1'];$_POST['saturdayshift']['2'];$_POST['saturdayshift']['3'];
$_POST['sundayshift']['0'];$_POST['sundayshift']['1'];$_POST['sundayshift']['2'];
Is it possible to get the file attachments as well? if so, how?
regards
hi!
it is possible to autocomplete some info into a nother form viar URL?
something like this?
mythankyoupage.com/?name=?$_POST['name']
regards!
Hi,
I tried to send data to <a target='_blank' href="https://www.jotform.com/show-post-data/" >https://www.jotform.com/show-post-data/</a> but nothing happens.
I've a blank page :-(
What's the mistake?
I was trying to use Redirect to External Link on the Thank you page do the following:
1. Direct the page to a Paypal processing page that we use for organization.
2. The link is standard and works well.
3. However, I wanted to Insert the form variable called {TotalFee} into the URL Balakendram Registration Fee.
2. For some reason the link is not working because of this form variable. If I replace the form variable with a constant (e.g. amount=175) then the link works correctly.
Can you tell me what was wrong?
After that works I have another question.
1. What I really want is once I redirect the user to Paypal External link, is there any way we can return back to the form with the "processing complete" message?
Excellent! This helps me to create a really cool, custom Thank You page.
Does check marking "Add existing contacts to Constant Contact" mean that any existing prior submissions in the form will be added to constant contact?
this giude was quite helpful
Hi,
We are created a Jotform for yearly user registration with Name, Email, Address, School information, Collage Information and other fields.
We have previous registered user information in CC with all above field.
We want to load a previous user info after user given his email address. So previously user can update his/her information if required and saved in CC.
For new user all a new record get created in CC after submission of Jot Form.
Can you please let us know how we can integrate the Jotform with CC.
Hello,
I submitted info one the Demo form: <a target='_blank' href="https://www.jotform.com/62301599849972" >https://www.jotform.com/62301599849972</a>
Then it takes me to an empty page: <a target='_blank' href="https://www.jotform.com/show-post-data/" >https://www.jotform.com/show-post-data/</a>
I’d like to see a demo before I add it to my form.
Hello.
I want to put everything to my php Thank you page and post to JSON API.
And i have problem with:
a) put few fields in one, example:
{
"name": "{$_POST['1_field', '2_field', '3_field']}",
}
? I already try with $_POST for each field and nothing.
b) i have problem with fields like RANDOM NUMBER. I can post them to thank you page, why?
Please help me with this code, yo insert array <a target='_blank' href="https://www.jotform.com/answers/1176672-How-do-I-insert-multiple-checkbox-values-into-a-table" >https://www.jotform.com/answers/1176672-How-do-I-insert-multiple-checkbox-values-into-a-table</a>
How can I create an electrical form that includes sending information and receiving a sequential number of the custom
Hey. If I have stopped on the item "Set Yes on Send Post Data". I chose "Yes". And I do not choose in the Thank You wizard, Redirect to an external link. How can I get POST data in this case?
My form appears in the modal window. I want that gratitude would appear in the modal window too, but I would have to POST Data filled by the user.
Hi, I did as you wrote "tur on POST data" but after that i get:
"No Post Data Received. Make sure you enabled Send Post Data on your form. Then, try again."
Please help :/
my post thank you page at
is not receiving any data from my form at
Just wondering if it is normal behavior for the jotform submission itself to hang on "Please wait while we are processing your request" after sending post data to a custom PHP page? If it helps, the user is then redirected with the header function to a real "Thank You" page at my website. What results is a new tab opening with my sites "Thank You" page and the Jotform submission tab hanging on the aforementioned message. This might be a bit disconcerting to users even though my Thank You page tells them we have received their submission.
How do you create a database tables from your Jotform?
i have the ame problem in wordpress and i dont find any sulotion for it . its my conntact page in wordpress
I can not get this function to work for any of my forms anymore. Why is that?
Great I didn't know about this feature and works great. I don't use PHP (I use Tango) but any language that can pick up post arguments should be able to use it. Just be sure to sanatise the data for screen output or database input.
This is a slick feature - thanks for implementing it. It would be nice to see non-php solutions for json perhaps? or iis?
Hey guys, I think these instructions are seriously out of date!
Try these steps instead:
1. Go to MY FORMS, click your form, then select EDIT FORM.
2. click THANK YOU from the menu ribbon, click CHANGE PAGE LINK (on the lower right of the preview screen)
3. Copy and paste this link into that field:
<a target='_blank' href="https://www.jotform.com/show-post-data/" >https://www.jotform.com/show-post-data/</a>
4. Click APPLY then close the THANK YOU preview
5. Click PREFERENCES on the menu ribbon and select the ADVANCED SETTINGS tab.
5. Click the box on the left titled SEND POST DATA.
6. Change the setting to YES and click CLOSE SETTINGS at the bottom of the dialog.
7. Click SAVE FORM on the menu ribbon.
Will this use your forms submission slot?
Im setting up a customer db on another server.
Currently the user is redirected to Stripe for credit-card validation. What I want is a copy of the form data to be processed by my server, but only once Stripe has validated the user's credit card info.
So my question is, does the redirect to the "Thank You" page occur AFTER credit card validation with Stripe or before? (IE as soon as Jot-form validates the form-data (which would be VERY bad practice IMHO!))?
Cheers in advance
I love that Jotform integrates with Constant Contact but I don't understand the "Match form fields" option and what it actually DOES. Does it only MATCH or does it also FEED data?
I want it to match email addresses - but I don't want it to create a new contact if someone types their own name slightly differently.
I DO want Jotform to feed people's names and country/state if they're NEW - and to UPDATE that info in current records.
How can I find out what you really mean by "match" and how to make sure it DOESN'T duplicate slightly-different-name contacts and DOES upate info in already-subscribed contacts?
Can the post data be sent in xml format?
now how do i add the php script to send the data to mysql
Can it pass the form data over https? (note the "s")
Same issue as ricky
I have changed "send post data" to yes in preference but why it still shows:
"No Post Data Received. Make sure you enabled Send Post Data on your form. Then, try again." after submitting? Please help, thank you very much!
Once I synced my Jotform account with CC, CC automatically sent out a 'welcome' email to all of my previously received submissions through Jotform. That meant that if someone completed my form on my webpage in November and I synced my Jotform account with CC in March, all of those November inquiries got a standardized 'welcome' letter on the date of the sync from CC. This can NOT and should NOT happen. Something needs to be fixed here!
Hi, great post
whenever i submit my form data and redirects to the php page, i get this text:
{rtf1ansiansicpg1252cocoartf1265 {fonttblf0fnilfcharset0 Menlo-Regular;} {colortbl;red255green255blue255;} paperw11900paperh16840margl1440margr1440vieww10800viewh8400viewkind0 deftab720 pardpardeftab720 f0fs28 cf0 cb1 Array ( ) }
how to fix?
Thanks
I am passing a 'returnURL' which contains a URL with various parameters (including a GUID) into a hidden field on my form. That works fine.
Is there any way I can post data to that URL? The URL will be different every case (because of the GUID parameter). I don't really want a Thank You page as there may be a succession of forms or our applications own prompts.
hi
Hi,
When I create a test.php file and submit the form it tells me that the page does not exist. Below is the custom url I put into the form instead of a thank you page.
Any ideas?
Thanks
Barry
If my form is redirected to paypal for payment processing, will jetform execute my thank you page php program?
Isn't there an easier way to do this without having to set up a database and use PHP?
In other words, similar to the embed HTML used for the original form? An iframe?
for me its not getting,
i redirected my page to
my form id
it is only shownig
Thankyou for signing up
in my editor also " Thankyou $firstname $surname for signing up!"; is showing in same colour means colour is not changing for $firstname and $surname
In dumb terms, how do I add the submission date to the thank you page with a custom message. We don't have our own web hosting so we would like to use Jotform's thank you page to include the submission date.
Bless you for this!
As a pro user since 2009, I'd love to see you add GetResponse! They already have an API for adding leads so it should be a extremely easy.
Question:
Once I integrate with CC with a form. Are all future contacts (submissions) automatically sent over to the list I set it up with. Or will I need to periodically re submit the integration?
Please consider integrations with CRMs! Every contact should be stored in a CRM first.
Please consider CAPSULE
Other form builders is already integrated, but I do want to continue using Jotform!!
Thanks
I really Really like the direction Jotform is going with Aweber, and Constant Contact. Please Please make sure the 1ShoppingCart.com is on your list.
@jranney, this is a great point. I was wondering the same thing when Jotform initially announced it would be integrating with CC. Under the current way CC operates, this could turn out to be an issue quite quickly. Hopefully Jotform will be able to adjust as you've suggested. Will be curious to see how this pans out. Great idea overall though.
Integrating Jotform with Constant Contact (CC) is a great idea, however CC is permission based and has a very strict anti-spam policy. The current method of integrating CC with Jotforms is problematic as it does not allow for permission based signup. It simply adds the form submitter to the email list without any knowledge to the form submitter. This will lead to spam reports on CC which is a very bad thing, and can actually lead to CC account cancellation. Of course, a simple permission checkbox or statement can be added to the form but this would not stop the submitter's name from being added to the CC list. We would then have to go into CC and manually delete the submitter from the list, which defeats the purpose of the integration. The CC integration needs to be set up with a check box asking the form submitter if it is OK to be added to the email list (The text of this field should be editable). If the form submitter un-checks the box, then he/she is not added to the list.
I have contacted CC support with the same issue.
How do I get the Path to a uploaded file? It is not present in the $_POST array
hi,
someone can help me to post form result in new post in webspell ? ( cms forum )
thx
Can someone give a quick, practical example on the code that needs to go on the test.php page. Just for the sake of the example, lets say I want it to read, "Thank you **NAME_FIELD** for signing up!" How would that look?
Thanks so much!
You could do something like this...
$business = $_POST['businessname'];
$addyarray = $_POST['address5']; /* Array */
$zip = $addyarray[4];
$type = $_POST['typeof'];
$state = $addyarray[3];
Then, just echo the vars.
Can i use jotform to create login and signup fied and if posible how do i go about it
Hello is there a way to use $_REQUEST function in php to get form values. I am trying to do so but it's not picking up data.
print_r($_POST) only gives an array and does not put data in variables that I can use to update DB. Please advise.
Can I set the "field id" so that I know exactly what I am receiving on my server end? Right now, I have to either look at the source of the form or monitor from my server end to see the exact ids of the fields.
Is it possible to have the data sent to a list in awebber or mailchimp?
Thank you.
Ben
I followed all the instructions but my result looks like:
Array ( [submission_id] => 176036653174131631 [formID] => 11890036676 [ip] => 174.131.63.103 [fullname6] => Array ( [0] => Jim [1] => Seamans ) [address3] => Array ( [0] => 1234 5th St [1] => [2] => Ocala [3] => Fl [4] => 32686 [5] => United States ) [bedrooms] => 3 [clickto] => 064_lavewe_003.jpg )
Is it possible, show a Thank you message in the same form without needing to go another blank page with just two lines of text?
Thanks for your answer.
Thanks, this seems like it would be very useful but since I am not comfortable using php, I will settle by using Jotform's report pages.
Thanks though.
Click on "Preferences"
Click on "Advanced Settings" tab
You can change "send post data" to yes.
Step 3, enable 'Send Post Data', is nowhere that I can find.
ok i´ve got the same idea later.. i can get the current date on my thank you page... thanks a lot
Can I set the "field id" so that I know exactly what I am receiving on my server end? Right now, I have to either look at the source of the form or monitor from my server end to see the exact ids of the fields.
Please do the things stated in user guide. You doın't need to receive the date. You can get the current date when you are processing the post data.
Hi Team,
great solution, great forms, great great great .. i begin love jotform ;)
one question:
i miss the "Submission Date" Value in the $_POST, why? any reason?
Thanks
Chris
Oops! I included code in my post and it didn't show up. My bad.
Okay, I was stating that it's better form for the PHP start tag to be "?php" than just "?".
This is a very useful feature but
Shuigen: This is an advanced feature. To be able to use it you need to know programming with PHP or some other server side language. This basically posts the data entered on the form to the Thank You page on your own site where you can use server side programming to process the order on your own database.
Hi, how will it work?