Second form tag appears on page with no form id | Community
Skip to main content
Lara_Krefski
Level 2
Apr 12, 2019 2:00 PM UTC
Solved

Second form tag appears on page with no form id

I am noticing on my pages that have a Marketo form that a second form tag is added to the bottom of the page and it has no form id. This second form tag creates a white bar below the footer of the page. See the issue here on this page. https://www.workwave.com.

Does anybody know why this is happening and how to stop it from adding this second form tag?

Thank you.

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 12, 2019 10:53 PM UTC

It's an artifact of the element measurement routine used to position elements within the form boundaries (such as error pointers). As long as you don't accidentally give it layout using CSS, it has no affect on anything because it's outside the viewport.

4 replies

Lara_Krefski
Level 2
Apr 12, 2019 3:45 PM UTC

I figured out the issue. There was some css that was causing it and so it had a height of 10px. When I removed the css the second form was no longer taking up any space. However, I am curious as to why a second form is being added with no form id. Does anyone know the answer to this?

Translate
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 12, 2019 10:53 PM UTC

It's an artifact of the element measurement routine used to position elements within the form boundaries (such as error pointers). As long as you don't accidentally give it layout using CSS, it has no affect on anything because it's outside the viewport.

Translate
Lara_Krefski
Level 2
Apr 15, 2019 1:00 PM UTC

Thank you Sanford Whiteman​

Translate