- abusamerAsked on January 22, 2017 at 09:08 AM
It is not readily obvious what the field names are when parsing the rawRequest from the $_POST. It would be extremely helpful to have a procedure that builds php variables automatically.
This is a re-post of a comment on How to Setup a Webhook with JotForm
- JotForm SupportBDAVIDAnswered on January 22, 2017 at 11:52 AM
I have forwarded your request to our back-end team. If this is implemented, you will be notified via this thread.
- JotForm DeveloperScottAnswered on January 23, 2017 at 12:22 PM
If I am not getting you wrong, we do serve this option which will give you the POST PHP variables.
You can either follow this user guide: How to Post Submission Data to Thank You Page
or I can explain it to you briefly.
In order to accomplish this, firstly you need to go to your form preferences and select Yes for the Send Post Data option.
Now you need to change your Thank You page, which will direct to this URL:
When this setup is complete, go to your form URL and make a test submission. You will be redirected to a page which will show you the POST data for that submission plus the PHP variables.
Please let me know if I guessed your needs correctly or not.
- apexotAnswered on January 28, 2017 at 11:25 AM
Thanks - that's exactly what I was looking for.
- PEvaluationsAnswered on February 27, 2017 at 07:39 PM
Upon further examination - the example shown above is not the exact field names produced in the post variables. For example, in my form when I look at the advanced information tab for a given field, the unique name shows as 'bankName' but the actual field referenced in the POST variable is 'q4_bankName'. I was beyond frustrated trying to figure out why on earth I was not getting any data!
It would be super helpful to have documentation that reflects that nuance.