Close Button in Thank You Page

  • leosazevedo
    Asked on March 30, 2017 at 6: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

  • jonathan
    Replied on March 30, 2017 at 8:05 PM

    You can just copy the source code of the example thank you page and modify it to your requirement.

    Close Button in Thank You Page Image 1 Screenshot 20

     

    You can modify this part of the code.

    <body onDISABLEDload="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.