CMS Development

marius_serban
Member

Hubl code for a form

Hi all,

 

Is there a hubl code for embeding a form into a costum html landing page? 

 

For example, I know that in order to publish my page I had to add the {{ standard_header_includes }} and {{ standard_footer_includes }} into my code.

 

Thank you in advance!

Marius

0 Upvotes
3 Replies 3
jurbank
Participant

Hubl code for a form

 

See the forms section here -

http://designers.hubspot.com/docs/hubl/hubl-supported-modules

{% form "my_form" form_to_use='08bd9f0d-3be9-41c2-93b6-231a3a71b143', title='My Form' %}

for the 'form_to_use' id -
'This ID is available in the form editor URL of a each form.'

 

Hope that helps

 

marius_serban
Member

Hubl code for a form

Thanks! 

 

I added that hubl code and I got the form in, as I got it in using the embed code. The problem is that is not recogazing that I have a form on that landing page...

 

https://cloudup.com/cserIP-w_9C

0 Upvotes
jurbank
Participant

Hubl code for a form

I verified with my own test. Adding a form using HUBL will not display the form data on that page's dashboard.

 

Are you looking to see your form data? If so, all of that info is available on the forms page. It's just not listed together with the page data.

 

Screen Shot 2016-12-29 at 7.43.43 PM.png

0 Upvotes