Second form tag appears on page with no form id | Community
Skip to main content
Lara_Krefski
New Participant
April 12, 2019
Solved

Second form tag appears on page with no form id

  • April 12, 2019
  • 1 reply
  • 2438 views

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.

Best answer by SanfordWhiteman

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.

1 reply

Lara_Krefski
New Participant
April 12, 2019

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?

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
April 12, 2019

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.

Lara_Krefski
New Participant
April 15, 2019

Thank you Sanford Whiteman