- statebagsAsked on January 16, 2013 at 05:54 PM
is it possible to apply ajax to jotform? I don't want the page load or redirect after you click on the submit button.
- JotForm SupportDeygusAnswered on January 16, 2013 at 06:11 PM
Hello, as far as I know according to our Founder in this thread http://www.jotform.com/answers/3632-Is-there-any-future-plans-for-an-AJAX-upgrade-to-Jotform it should be possible to use Ajax in different ways with your form as mentioned.
May I ask more about what you are trying to do exactly that makes you want to disable the redirect? You could just set up a custom message to be displayed or have it redirect back to the same form even to avoid all that.
- statebagsAnswered on January 16, 2013 at 06:36 PM
I already have a popup (appears when the submit button is clicked) which contains some info for the visitor. that's why I don't need a redirect.
- JotForm SupportidarktechAnswered on January 16, 2013 at 09:53 PM
I am not quite familiar with ajax but that might be possible without doing any redirection. Can you give us an example or a test page where you have this function so we can check it? Have you tried downloading your form script and apply the custom scripts there?
Here's also an example of the form from JotForm without any redirection which uses a pop-up window when form is submitted. Check this example: http://idarktech.com/test/popup/test_jotform_popup.htm
Feel free to check the codes to figure out the setup. Thanks!