- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Adding HubSpot forms to Imported HTML Landing Pages
SOLVEJan 28, 2020 10:21 AM
I have preexisting landing pages that I was to recreate in HubSpot to be ablet o use the tracking features. I used the html code from the page and pasted it into design tools to create a custom coded template. Everything looks the same, however I want to edit the page forms to be HubSpot forms. For some reason, I am unable to add modules or make any edits. It seems to be something in the html coding preventing this. Does anyone know how to add hubspot forms to a custom html landing page template?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Jan 28, 2020 2:42 PM - edited Jan 28, 2020 2:43 PM
Hey @alexacree
So I'm not familiar with the UI that you're seeing in that screenshot, but I may still be able to offer some advice.
- Get your markup into a hubspot template
- Build the form in the form builder
- Locate the form code inside your html and replace it with this Hubl below:
{% form "my_form" label="My Form", custom_form_html=None, no_title=False, title="" %}
- Now edit the contents of your page, you should see the dropdown to select a form
- Select your form and publish
That Hubl snippet tells hubspot that you want in that location, and want to be able to replace it easily from the content editor.
Hope this get you going in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content