CMS Development

tmattocks
Participant

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

Résolue

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 Solution acceptée
benvanlooy
Solution
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

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

Résolue

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

 

 

Voir la solution dans l'envoi d'origine

4 Réponses
benvanlooy
Solution
Contributeur de premier rang | Partenaire solutions Platinum
Contributeur de premier rang | Partenaire solutions Platinum

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

Résolue

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

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

Résolue

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
Équipe de développement de HubSpot
Équipe de développement de HubSpot

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

Résolue

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 Votes
tmattocks
Participant

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

Résolue

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 Votes