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.


  • Profile Image

    Trying to use send post-data but getting an empty array

    Asked 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?

    post data POST
  • Profile Image

    Answered by serkan on April 27, 2011 at 11:41 AM

    Are you sure you have enabled the "Send Post Data" option on the form properties?

  • Profile Image

    Answered by capnpop on April 27, 2011 at 02:08 PM

    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."

  • Profile Image

    Answered by capnpop on April 27, 2011 at 02:19 PM

    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.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 27, 2011 at 03:02 PM

    Hi,

    Great job on sorting things out by yourself. Feel free to ask us again if you have follow-up questions. Thank you.


    Neil

  • Profile Image

    Answered by khrisell on July 04, 2013 at 05:48 PM
    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. :)

  • Profile Image

    Answered by bbiglari on July 22, 2015 at 05:41 PM

    Hello, 

     

    I have the same issue. Can someone help me on this?

     

    Thanks