CMS Development

tmattocks
Teilnehmer/-in

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

lösung

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 Akzeptierte Lösung
benvanlooy
Lösung
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

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

lösung

- 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 🙂

 

 

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
benvanlooy
Lösung
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

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

lösung

- 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
Mitglied

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

lösung

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-Produktteam
HubSpot-Produktteam

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

lösung

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
Teilnehmer/-in

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

lösung

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