What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Trying to use send post-data but getting an empty arrayAsked by capnpop on April 27, 2011 at 11:18 AM
I'm trying to use the example provided (test.php from most post-data examples) to grab information from a submitted form so I can further manipulate it. However, when the form is submitted I'm simply getting
Array ( )
using <? print_r($_POST); ?>
<pre><? print_r($_POST); ?></pre> yields the same results.
(I have also tried both with <?php instead)
I'm using the direct link to the form and it does the same thing regardless of browser (at least between FF4 and Chrome). Any suggestions?
Are you sure you have enabled the "Send Post Data" option on the form properties?
Yes. The form is enabled (not the question, but a dummy check for my benefit :P) and the option to "Send Post Data" is set to "Yes."
Now it is working properly. It was likely an error on my part (lack of www. in the url with a 301 pointing to the www. version of the domain). That disconnect was likely causing a problematic hiccup.
Great job on sorting things out by yourself. Feel free to ask us again if you have follow-up questions. Thank you.
Greetings!We are happy to announce that we have released Jotform Webhooks, this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes.
To know more about Jotform Webhooks, please click here.
Thank you for using JotForm. :)