We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 30, 2020 10:26 AM
Hello,
Sorry, it's probably a dumb newbie question, but I am struggling with adding a form to my page. When I am inserting the code for the form, it looks like this (like if it were added twice):
I have copied the code from Hubspot without changes.
What am I doing wrong?
Thank you very much in advance for any info!
Daria
Solved! Go to Solution.
Jan 30, 2020 11:54 AM
After a v quick look at the source code it looks like the form code is there twice but with two different styling variations hence why you have a full width version and a standard format version of the form. I'm not familiar with New Zenler so I'm not sure why that might be happening.
Jan 30, 2020 10:36 AM
A couple of clarification questions:
Jan 30, 2020 10:45 AM
Hello,
I am trying to add the form to the page in New Zenler page builder (a course hosting platform). They have an 'Add Custom HTML' block.
Here is the link to the page:https://smartenglishlearning.newzenler.com/support
Thank you!
Daria
Jan 30, 2020 11:54 AM
After a v quick look at the source code it looks like the form code is there twice but with two different styling variations hence why you have a full width version and a standard format version of the form. I'm not familiar with New Zenler so I'm not sure why that might be happening.
Jan 30, 2020 11:59 AM
Hello again,
Thank you for your answer.
So, just to be sure - the code I get from Hubspot (shown below) is ok, but somehow it is added twice, right?
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script> <script> hbspt.forms.create({ portalId: "6100765", formId: "46d44def-1c52-4613-bf47-7cbe6c5b7043" }); </script>
I will get in touch with Zenler support if that's the matter.
Thank you,
Daria
Jan 30, 2020 12:08 PM
That script is there but so is this:
Jan 30, 2020 12:09 PM
Ok, I've contacted the Zenler support about this.
Thank you very much for your time and for clarifying this for me!
Daria