Problems with javascript snippet to redirect page after thank you message

  • Profile Image
    Asked on August 22, 2011 at 10:31 PM

    Hi i tried to use the javascript snippet example your support posted, to redirect my form after the thank you message.  Every time i try to open the HTML editor my personal message and the snippet are gone.  I copy the snippet again in the html editor, write the message again hit update then finish, open it again to copy the url i want the form redirected and everything is erased.

    What i am doing wrong?

    Thanks in advance for your help

  • Profile Image
    Answered on August 23, 2011 at 03:09 AM


    Sorry but JavaScript redirection in the thank you message does not work anymore. The ability to insert your own JavaScript in your form's thank you message was removed due to security issues.

    Create your own Thank You page hosted in your server then paste the code below on that page's source code:


    <script type="text/javascript">
    function delayer() {
    window.location = "";
    setTimeout('delayer()', 3000);

    Hope this helps. Thank you for using JotForm!