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.
Webhook with JotForm: have a procedure that builds php variables automatically.Asked by abusamer 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
I have forwarded your request to our back-end team. If this is implemented, you will be notified via this thread.
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.
Thanks - that's exactly what I was looking for.
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.