I am passing a 'returnURL' which contains a URL with various parameters
-
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
-
NeilVicenteAnswered on December 05, 2013 at 12:28 PM
Hello,
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:
http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm
http://www.jotform.com/help/248-Webhook-Samples
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.
http://somesite.com/somesite/somesite.aspx?guid=1792-563A-E84F8206D1E974BE
Also, does the WebHook posting happen on the Submit button by default?
-
AytekinAnswered on December 06, 2013 at 10:29 AMJotform Founder
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.