- SportsFormAsked 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?
- CharlieAnswered 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.
- SportsFormAnswered on April 23, 2016 at 11:50 PM
Thanks Charlie, it's very useful.
- JotForm SupportMike_GAnswered 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.