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

    When redirecting to a URL based on condition, can I have that open in a new window?

    Asked by jtmku on April 10, 2012 at 12:57 PM

    I have a client password field that will redirect to a custom URL based on what is entered in the field.  I would like this redirect to open in a new window.

    Page URL:
    http://www.jenmillerphotography.com/clients.html

  • Profile Image

    Answered by pinoytech on April 10, 2012 at 01:21 PM

    Hi,

    I clone your form and made minor changes of your condition/s. Feel free to clone the form if you like it.

    http://www.jotform.me/form/21005626686453

    You may take a look also on this related thread for more information:

    http://www.jotform.com/answers/19758-How-can-I-open-a-webpage-in-a-new-window-when-a-user-clicks-submit-on-a-form

    If you need further assistance, feel free to contact us anytime.

    Thank you for using JotForm!

  • Profile Image

    Answered by jtmku on April 10, 2012 at 03:02 PM
    Well now my IP address has been banned from jotform.
  • Profile Image

    Answered by pinoytech on April 10, 2012 at 03:46 PM

    Sorry for the inconvenience that may have caused. I have now activate your account.

    Thank you!

  • Profile Image

    Answered by jtmku on April 10, 2012 at 04:18 PM

    I used the cloned form, but it still does not open a new window.

  • Profile Image

    Answered by jeanettebmz on April 10, 2012 at 05:14 PM

    Please follow these steps:

    1. You would need to embed the the full source code of your form.

    2. Use the example code below and insert it inside the body tag of your custom page (hosted in your server)

    <onLoad="window.open('http://www.example.com/example.htm','mywindow','width=400,height=200')" />


    3. Look for the first form tag and insert thhe following code: 

     

    onSubmit="window.open('http://www.example.com/example.htm','mywindow','width=400,height=200')"

    so that it becomes:

    <class="jotform-form" action="http://www.jotform.com/submit.php" method="post" name="form_10424741277" id="10424741277" accept-charset="utf-8onSubmit="window.open('http://www.example.com/example.htm','mywindow','width=400,height=200')">

    The highlighted numbers represent the Form ID, so change it accordingly.

    While the URL http://www.example.com/example.htm  represents the page you want to pop up once the Submit button is clicked.

    Should you need further assistance , let us know

    Jeanette