Forms

Why am I seeing an 'Invalid Form' error when saving my HubSpot form?

Last updated: October 27, 2016

Available For:

Product: HubSpot Marketing
Subscription: Basic, Professional, & Enterprise

Some HTML tags and attributes are not permitted in HubSpot forms. When you save your form, you will see this message:

Most common HTML tags are allowed. To resolve this error and save your form, please ensure the following attributes and tags are not present in your form:

  • Any <script> tags are not permitted
  • Any scripting HTML attributes like 'onmouseover', 'onclick', etc. are not permitted
  • All urls in images must start with either http:// or https://
  • All link urls must start with either http://, https://, mailto:, tel:
  • All link tags can only have 'href', 'target', 'name' and 'rel' HTML attributes

Was this article helpful?