- kdevlin1983Asked 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?
- JotForm SupportBJoannaAnswered 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.