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.

  • Profile Image

    Submitting a jotform over AJAX so page does not get reloaded

    Asked by wendywilson on February 19, 2015 at 10:17 PM

    We're trying to submit a jotform with ajax so there is no page refresh or re-direction.

    I'm a bit confused about what's possible and what not. one sample that keeps popping up is  http://idarktech.myartsonline.com/jotform/popup/test_jotform_popup.html but that page is actually dead now and it doesn't seem to address the issue: can we simply use AJAX to submit a form - stay on the page - then receive some server response message? 

  • Profile Image

    Answered by Ben on February 20, 2015 at 08:36 AM

    I took a look at the page and I can see that it is being submitted properly, with a small popup window offering the link to close it.

    Now this is a great way to use AJAX, but it would require you to make the changes to your jotform code - and re-do them each time you make some change to your jotform within JotForm Builder.

    To avoid this, I would recommend using our iframe embedding code instead. It will open the jotform withing the iframe and only iframe would get reloaded, while your page would stay as it is.