JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Would you like to close the browser window or just to open a blank form after submission?
If you wish to open a blank form after submission please select a custom thank you url and add the form's url:
If you wish to close the browser window please add an external thank you page with the custom url method:
In this custom thank you page you can paste this code:
<body onload="setTimeout('window.close()', 3000)">
<p class="para"><img src="//submit.jotformpro.com/images/thankyou.gif" width="250" height="100"> </p>
You can edit the blue part to reduce the time it takes to close the window.
You can test the code here:
Let us know if further support is needed.
I need to be able to close this form via a button, before the submit button is clicked. What if a user changes their mind and doesn't want to enter any information. If the browser is in Kiosk mode, there is no other way to close the window other then typing ALT+F4. Now what I did was created an iFrame in a separate html file that calls the jotform and added a close button under the iFrame element, but that seems kind of kludgy. Do you have a simpler self contained suggestion?
Though we do not have a "Close Form" button, we do have a "Clear Form" button:
(1) Go into your Formbuilder for the Form you want to add this to.
(2) Highlight the " Submit Button " Field (this should automatically put you on the Properties: Submit) tab.
(3) At the top toolbar of the formbuilder you'll see " Reset Button ", click it once to turn it on.
(4) You will then see the " Clear Form " button added automatically to the right side of the submit button on your form.
Unfortunately this is as close as we have at this time. There is not button to fully close the form.