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

    How do I popup a jQuery dialog on submit?

    Asked by thumpwerks on March 26, 2014 at 06:46 PM

    I want to popup a dialog when the user clicks the Submit button. I do not want to leave the page. I just want to clear the form and display my dialog.

    Ideally, I would like to just "show" a div on submit and clear the form.

    Is any of this possible?

     

    thanks!

    -rob

    div thanks and
  • Profile Image
    JotForm Support

    Answered by TitusN on March 26, 2014 at 07:47 PM

    Hello Rob.

    Yes.

    Get the source code using this guide

    Paste the source code on your HTML page

    Add your script - and trigger your script with an OnClick event of the reset button.

    Do you have your script ready? If you pasted it in your reply - we could make a demo for you.

    Let us know.