- chevvaAsked on December 05, 2013 at 11:46 AM
I am passing a 'returnURL' which contains a URL with various parameters (including a GUID) into a hidden field on my form. That works fine.
Is there any way I can post data to that URL? The URL will be different every case (because of the GUID parameter). I don't really want a Thank You page as there may be a succession of forms or our applications own prompts.
This is a re-post of a comment on How to Post Submission Data to Thank You Page
- JotForm SupportNeilVicenteAnswered on December 05, 2013 at 12:28 PM
I believe that is possible with 'WebHooks'. This allows you to get the submission details passed to your own script.
Check out the following guides for more information:
Let us know if you have any other questions or concerns. Cheers!
- chevvaAnswered on December 06, 2013 at 07:34 AM
But as I am passing the s variable 'return URL' to the form, can the WebHook URL also be variable e.g.
Also, does the WebHook posting happen on the Submit button by default?
- JotForm FounderaytekinAnswered on December 06, 2013 at 10:29 AM
Unfortunately no, it is not possible to change the webhook URL on the form with dynamic variables. But you can add a hidden field to your form, set it using URL parameters and send that parameter with your webhook post. Your somesite.aspx file needs to read the guid from the POST variables.
On your second question, yes, the webhook URL is always called when you submit a form.