How to submit jot form using ajax?

  • dishamavani
    Asked on September 16, 2017 at 2:22 AM

    i'm using jot form and i want form submit using ajax not refresh page

     

  • Chriistian Jotform Support
    Replied on September 16, 2017 at 4:22 AM

    If you want to use Ajax to submit your form then this will require you to use the full source code of your form and apply the Ajax to the code. Here's the guide on How to get the Full Source Code of your Form. Please note that using the full source code of your form, it would need to re-add the full source code of your form every time you make changes on your form in the Form Builder.

    Furthermore, if you don't want to refresh the page everytime it gets submitted, I would suggest using the iFrame embed method instead. Using the iFrame method, once the form gets submitted, it will be reloaded within the iframe while your page will stay as it is. Here's the guide on Getting the Form iFrame Code.

    Please let us know if you need further assistance.