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

    submit 2 URL's

    Asked by hig2145 on April 22, 2011 at 12:17 PM

    Is it possible when the user hits submit, 2 webpages open? 1 Thank you page and the other yahoo.com for example.

     

  • Profile Image

    Answered by DanielGriffin on April 22, 2011 at 12:50 PM

    Hi there,

    Web forms can only submit to one url but you could achieve what you want using a custom thank you page.

    First set up your custom thank you page on your own website and then point your jotform thank you page to it by following the wizard below.

     

    Next you will need to add the following javascript to your custom thank you page so that it can pop open a new window with the second webpage.

    <script>

    function newWin () {

    window.open (“https://www.jotform.com”,”windowName”);

    }

    </script>

     

    then replace the <body> tag of your page with this code:

    <body onload="newWin();">

     

    Obviously you would need to replace Jotform.com with your own address,

    Have a look at this link for a full description on how to use window.open

    Let us know if you need any further help.

    Thanks,

    Daniel