CMS Development

tmattocks
Participant

Download a pdf after filling out a form, does not open in a new window

SOLVE

I have a form on my home page I would like customers to fill out before downloading our catalog.

I am unable to get it to open in another tab. The options are inline text and you can redirect to a pdf file but the redirect link does not have an option for target="_blank"

Any thoughts? Thank you

 

downoad catalog.JPG

 

 

1 Accepted solution
benvanlooy
Solution
Top Contributor | Platinum Partner
Top Contributor | Platinum Partner

Download a pdf after filling out a form, does not open in a new window

SOLVE

- you can add html code in the inline text area maybe?

<a href="LINK_TO_PDF" target="_blank">Download here</a>

 

- OR you choose to direct to a thank you page where you just add the download in a textarea and choose the target yourself 🙂

 

 

View solution in original post

4 Replies 4
benvanlooy
Solution
Top Contributor | Platinum Partner
Top Contributor | Platinum Partner

Download a pdf after filling out a form, does not open in a new window

SOLVE

- you can add html code in the inline text area maybe?

<a href="LINK_TO_PDF" target="_blank">Download here</a>

 

- OR you choose to direct to a thank you page where you just add the download in a textarea and choose the target yourself 🙂

 

 

r1nk
Member

Download a pdf after filling out a form, does not open in a new window

SOLVE

Where to edit the HTML code? I can't seems to fine this inline text area.

 

Or is it limited to certain plans only. Mine is Marketing Hub Starter.

Tom
HubSpot Product Team
HubSpot Product Team

Download a pdf after filling out a form, does not open in a new window

SOLVE

Hey @r1nk  this is available for all forms. You can do this by adding a "rich text" field over any of your existing form fields and in this rich text editing field selecting "tools" from the top banner and "source code" you can then copy your html in here. 

 

There is a full guide on how to add a rich text field in available here: https://knowledge.hubspot.com/articles/kcs_article/forms/add-content-between-form-fields

0 Upvotes
tmattocks
Participant

Download a pdf after filling out a form, does not open in a new window

SOLVE

Thank you I'll take a look at option 1. We tried option 2 but it didn't look that great and it required more clicking for the user. 

0 Upvotes