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.
Can we fire webhooks on page breaks (when changing pages)?Asked by guysyml on January 09, 2015 at 09:35 PM
I am wondering whether it is feasible to attach webhooks to a form at "partial stages" ... For example. In the event I have a form with multiple tabs, can a webhook be attached to the "next" button on each tab which sends partial information to an address?
As it stands from my testing thus far, it only seems possible to send the entire form via webhook at the end sumbission of the form. Am I correct in this understanding?
For the sake of context, the reason I am seeking to determine whether webhooks can send data "part way through" a form is because then the later content of the form could be programatically altered through the use of the Jotform API and an external web services application ...
Has anyone used this sort of "interactive pattern" in their form design?
What you are looking for is AJAX, which would allow you to communicate from your jotform to some other points of your server to gather more data and bring them into jotform.
Now as it stands, we do not support AJAX calls to be made and as such it is not possible to send the data to a webhook while in the middle of the jotform and get the response back while going to a next page, unless you take a full source code of your jotform and implement this into the jotform like that.
Do note that once implemented, you can not take the jotform back into the builder, so every time you make a change in builder, you will need to take a new source code of your jotform and apply the same change to it.
Do let us know if you have any further questions.