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

    if I want to use a form as a popup, is it possible to close popup when click submit button

    Asked by youssef  on October 21, 2014 at 11:16 AM

    I want to close the popup form when a user click submit, that way he stay on current page instead of opening the website in a new window

    click submit new window
  • Profile Image

    Answered by Shadae on October 21, 2014 at 12:39 PM

    Hi youssef,

    To confirm you would like for your pop-up page, for your form to be closed once your user's hit the submit button?

    If that is the case, unfortunately we do not currently have that feature available. As a work around, you can however use the "Thank You" page to direct the window to close.

    To do this you would have to create another webpage on your webserver & use that as the Custom URL "Thank You" page for your form.

    In that new webpage have just one line of code:

    <body onload="javascript:window.opener.childClosed();window.close();">

    This webpage would direct the pop-up window to close after the form has been submitted.

    I hope this helps! Please inform us if you need further assistance.