- MESARAsked on February 26, 2014 at 09:24 AM
Im trying to add a button that close current page (thank page after submit) but it wont let me do it.
How can i do it ?
- datasphereAnswered on February 26, 2014 at 10:21 AM
you can use the wizard it is encircled in the image :
this is a short youtube how-to video
the Default Thank You Page is the default thank you page used in all JotForm forms by default.
here is the short form example of the thak you page
There's no way to edit it unless you switch to another thank you option
custom thank you page
- MESARAnswered on February 26, 2014 at 10:25 AM
i choose the Thank you message option and i changed the message, and i could even swith to html source but the code i enter there wont stay
- CarinaAnswered on February 26, 2014 at 10:51 AM
Kindly let us know if you need more assistance.
- datasphereAnswered on February 26, 2014 at 10:56 AM
you have clicked save I presume on the uper left of the Jotform?
Possible you could try go and clean the Jotform inside-cache
You can use the following steps to clear your form cache yourself:
(1) Go to My Account
(2) Go to Settings
(3) Last, click on Clear Cache and a pop-up will appear saying " All Caches are Cleared! " then click okay and you are done!
If you are still having trouble beyond this, you may also want to try Clearing your Browser Cache in conjunction with this, or change to other Browser since it will aid in correcting the problems associated with.
Here is the help article where I found this info:
Hope this solves your situation !
- MESARAnswered on February 26, 2014 at 02:44 PM
i just need to add a button that close the thank you page (this actual page is opened in another tab)
- MESARAnswered on February 26, 2014 at 04:12 PM
if i understand, the only way is to create my own page ?
- CarinaAnswered on February 26, 2014 at 08:16 PM
If you actually want to close the browser window, yes, as this script is not accepted by our HTML editor.
You can paste this into your html document:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<p align="center">Thank you for your submission!</p>
You can test the result here:
Then you can use the previously described "custom url" option, to link your form to your html page.
And you can use your html editor to customize contents or formatting.
If you need further assistance let us know please.
- MESARAnswered on February 27, 2014 at 08:45 AM
the link u sent me doesnt actually work :(
the browser doesnt close when i hit the close window button
- JotForm SupportEltonCrisAnswered on February 27, 2014 at 12:15 PM
Let us know should you have further questions. Thanks!
- MESARAnswered on February 27, 2014 at 01:29 PM
Im with chrome and i just tried it again and still doesnt close the tab
- JotForm SupportEltonCrisAnswered on February 27, 2014 at 03:30 PM
You're right, I just got a message on the Chrome browser that is similar with Firefox.
"Scripts may close only the windows that were opened by it."
- MESARAnswered on February 28, 2014 at 09:06 AM
ok so if i make my own page with my own script, where do i put it and what is the url i have to put in the Custom URL choice ?
- JotForm SupportTitusNAnswered on February 28, 2014 at 11:57 AM
If the script is similar to the button element shared by Carina, then it goes where you want the button to appear on your page.
Use the Thank you page URL redirect method to implement your solution, and use the link to the page you just created with the close button.
Why not create the page, then let us know and we shall advice?
Looking forward to your response.
- MESARAnswered on February 28, 2014 at 12:36 PM
i found the way to make it work ono google chrome
i did this
Merci, demande envoyé!
<input type="button" value="Revenir au site" onClick="window.open('', '_self', ''); window.close();">
everything works fine now :D