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

    Not all data are showing in target PHP script using send POST method

    Asked by SportsForm on April 23, 2016 at 01:11 PM


    I'm using Jotform for my business, there are some questions that I need help.

    1) I set a button to send POST data to another url, that url is setup in the Thank you page.

    I've debug the POST data to that url, but data is not enough, please see following screenshots and actual received data




    All multiple fields POSTed data for 1st field only, the remaining fields are nothing.

    e.g: Player Name - Last Name, Player Address - City, Player Address - State/Province,...

    Could you please teach me how to POST all data?


    2) I want to write custom PHP code for a button, is it possible?


    3) I want to embed OAuth2 to a 3rd party API, using 3-Leg OAuth method (client side). Is it possible?


    4) I want to embed an iframe with dynamic url into jotform, is it possible?




  • Profile Image
    JotForm Support

    Answered by Charlie on April 23, 2016 at 02:29 PM

    You could try following this guide to check the direct PHP variable on your form fields: https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page 


    On my screenshot above, it shows the PHP code that I can use when fetching the submission data on my PHP script.

    Make sure that there are no errors or typographical mistakes on your PHP script, you might be missing some semicolons or incorrect field names which is why some data are not showing in your end.

    Here's another guide about using send post data: https://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page. However, that one uses a variable $answers for $_POST. But they should be the same with the one I shared above.

    For the other concerns you have, please refer to the following links:

    #2 question: https://www.jotform.com/answers/825088 

    #3 question: https://www.jotform.com/answers/825089 

    #4 question: https://www.jotform.com/answers/825090 


    We will address your other concerns there. Thank you.

  • Profile Image

    Answered by SportsForm on April 23, 2016 at 11:50 PM

    Thanks Charlie, it's very useful.

  • Profile Image
    JotForm Support

    Answered by Mike_G on April 24, 2016 at 01:30 AM

    On behalf of my colleague, Charlie, you are most welcome! Please feel free to contact us anytime if you have questions or if you need assistance. Thank you.