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

    Thank You Page and Custom URL

    Asked by AskFred on November 02, 2012 at 05:32 AM

    I wanted to know whether it is possible to have a thank you page displayed for 5 second and then the visitor is redirected to a custom URL.

    Can I do that with JotForm?

    Kindly let me know.

    Thanks

    custom url JotForm thanks
  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 02, 2012 at 05:43 AM

    This used to be possible by adding a redirection script on the Thank You message. However, we had to remove the ability to use scripts on the Thank You Message due to security reasons.

    I am sorry but you'll have to create a custom Thank You page (on your server) that can do this.

    For your reference, here's a simple script that you can use on your self-hosted Thank You page:

    http://pastie.org/5171025

  • Profile Image

    Answered by AskFred on November 02, 2012 at 05:46 AM

    Thanks for letting me know and for also the script.

  • Profile Image

    Answered by AskFred on November 02, 2012 at 06:00 AM

    Hi,

     

    Could you tell me how to use this script the correct way.

    I have created a thank you page and this is the code in the page

    <p>&nbsp;</p>

    <div style="text-align: center;">

    <h1>Thank You!</h1>

    </div>

    <div style="text-align: center;">Your submission has been received.</div>

    <div style="text-align: center;">You will shortly receive a paypal invoice for the ordered pinterest marketing package</div>

    script type="text/javascript">

    function delayer() {

    window.location = "http://pinterestsquad.com/thank-you/";

    }

    setTimeout('delayer()', 3000);

    </script>

     

    But after submitting the form, I get a page with some errors. I would like that the visitor looks at the Thank you message and then in 5 seconds he is taken back to the home page of the site.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 02, 2012 at 06:06 AM

    Is this thank you page hosted on your server?

    I think I have made myself clear that this will NOT work for Thank You pages hosted on JotForm.

    I am sorry but you'll have to create a custom Thank You page (on your server) that can do this.

  • Profile Image

    Answered by AskFred on November 02, 2012 at 06:08 AM

    Yes, this thank you page is on my server.

    I only need to know how the script can be used corretly, so that I don't get a page like this

    http://pinterestsquad.com/thank-you/

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 02, 2012 at 06:15 AM

    I see. The script you copied is lacking an opening bracket "<" before script type="text/javascript">

    http://pastie.org/5171025

    Kindly double check and correct this to fix the problem.

  • Profile Image

    Answered by AskFred on November 02, 2012 at 06:32 AM

    Oh!

    Thanks alot.

  • Profile Image

    Answered by khrisell on July 05, 2013 at 04:45 PM
    Greetings!

    We are happy to announce that we have released Jotform Webhooks,  this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes.

    To know more about Jotform Webhooks, please click here.

     

    Thank you for using JotForm. :)