JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
POST data to Thank you page (jotform.com/show-post-data/) is not showing the Array dataAsked by Atbam on February 22, 2016 at 04:25 AM
The data being posted by JotForm is actually an array so to find out the array keys and values, you will have to try to insert this in your script:
print_r( $_POST ); ?>
where do i put this to find out my array.
It looks like that the jotform.com/show-post-data/ option is not currently showing the array data. I have sent a ticket to our developers.
You can add the code into your PHP script to see the array data.
i have put the php code in the top of the form but not working.
i haven't sent a ticket to our developers. dont know how to do that.
The Array data is not showing in the Post PHP code. It should look like this once submitted:
However, if you click submit, here's what you'll get:
My colleague Mike already escalated this issue to our developers. He already submitted a ticket. We'll let you know via this thread once an update is available.
Thank you for your patience.
First of all, we are sorry for the inconvenience. Send Post Data is an advance feature of JotForm, and it is used to get and process form data on your (owner of the form) servers.
Please check this guide first. After you enable Send Post Data option from Form Properties bar, and redirect Thank You page -let's say http://yourdomain.com/formdata.php- you can simply put print_r( $_POST ) into formdata.php (this is your file hosted on your servers) file to see what is posted from your form.
is there a solution? my form doesn't pass any value to the show-post-data page nor to my PHP script
can i ask ware do i put the php code
I have followed all your instructions (How to send Submissions to Your MySQL Database Using PHP)
is it in the thankyou redirect to page ?
You need to put the PHP code on a PHP file in your web server. After that, you need to setup your thank you page to redirect to a custom URL. The URL should be PHP file on your web server.
Related guide: How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP
Hope that helps. Thank you.
I found the issue.
It was actually the fact that I was naming variables in uppercase (ie: VARNAME) inside jotform, but they were passed to PHP in lowercase, so the PHP script couldnt read them.
Glad to know that it's sorted out. The show post data page https://www.jotform.com/show-post-data/ should be working as well.
@sciedou, casing for the field variables should always be small on post data.