- leosazevedoAsked on March 30, 2017 at 06:20 PM
Hello guys I put a button to close the thank-you page. Because my form is mobile only, I do not have a website to create an auto-close page. So I put a hyperlink to an auto-closing page that I found on your site Https://shots.jotform.com/carina/exp_html/close_window.html to make it work. I would like to know if it is possible for you to create another page like this, but totally blank and with the shortest presentation time possible before closing. So I would use this page as a trigger to close the browser. I think this is a solution for people who want to put a button to close the form without having to create a specific page for it. Best regards Leonardo Azevedo
- JotForm SupportjonathanAnswered on March 30, 2017 at 08:05 PM
You can just copy the source code of the example thank you page and modify it to your requirement.
You can modify this part of the code.
<body onload="setTimeout('window.close()', 3000)">
<p class="para"><img src="//submit.jotformpro.com/images/thankyou.gif" width="250" height="100"> </p>
You will need apply this on your own hosted website page because the one in the example will not be there for very long. It might be taken down soon since it was only for demo purposes.
There are a lot of free web hosting nowadays.
Hope this help. Let us know if you need further assistance.