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

    PDF's Not Opening In New Tab

    Asked by kdevlin1983 on March 15, 2017 at 01:30 PM

    I am trying to have a PDF open in a new window when "Download File" is clicked, but when I add in to the source code, it doesn't open it in a new window.



    Is there a check box for opening a hyperlink in a new window I am missing?


  • Profile Image
    JotForm Support

    Answered by BJoanna on March 15, 2017 at 04:08 PM

    I have tasted your form and file is opened in new tab. 

    You can use  or java script onClick="window.open('http://www.yahoo.com', '_blank')" to open link in new window/tab. However this will also depend on browser settings. 

    Please check this articles:



    Also please note that it is not possible to add script codes to our forms. You will need to redirect your users to your webpage where you will add your file and add java script that will open that file in new window. 


    Hope this will help.