Target ="blank" Not Working

I created a pop up on my site. When the user inputs their name and email, they can download a PDF. The issue that I am having is that I want the PDF to open in a new window. I went to the attributes of the button and used target “blank” but it didn’t work.

Does anyone have a tip on how to solve this?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Can you please share a link to the page in question. Might help resolve the issue if I can look at it.

If you click download, a form will pop up, add name and email and click signup. Then the pdf will load, I would like it to load in a new window.

https://datta-solutions-2019.webflow.io/knowledge

You are redirecting to the PDF in the form. So it will load as it is. The option is to take the user to a page, then handle the loading the way you want.

FYI: You are loading JQuery (Webflow loads it already) and your script blocks should be condensed into one larger block, not multiple ones using the ready function.

1 Like