What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    Problems with javascript snippet to redirect page after thank you message

    Asked by ftarrago 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
    JotForm Support

    Answered by NeilVicente on August 23, 2011 at 03:09 AM

    Hi,

    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 = "http://www.jotform.com/form/11515117266";
    }
    setTimeout('delayer()', 3000);
    </script>

    Hope this helps. Thank you for using JotForm!


    Neil