Odoo Help


Insert HTML form in a web builder page

Tim Norton
on 2/1/15, 7:10 AM 3,401 views

I would like to be able to add some custom HTML to specific web pages.

For example - a form to sign up to a 3rd party event

<form action="//papercraft.list-manage.com/subscribe/post?u=dca1e124858ea9&amp;id=3407b9b1ce" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>

When I try to add this with the HTML Editor, I get this error.

Malformed XML document:
This page contains the following errors:error on line 25 at column 159: Specification mandate value for attribute novalidate Below is a rendering of the page up to the first error.

Anyone know how to make this work?

Odoo works in strict XHTML. This means your HTML needs to be reformatted so that it is properly nested according to XML/XHTML standards.

XHTML is also unforgiving in that if you forget to close a tag (for example the form tag above) you'll get this kind of error.

I've run into similar issues before due to attributes that work in html (eg. custom-attribute), but are not written according to XML/XHTML standards (eg. above example could be fixed by changing 'novalidate' to something like 'novalidate="False"'), as @John has pointed out below.

Luke Branch
on 2/2/15, 12:38 AM
John Baldwin
On 2/1/15, 2:35 PM

HTML tags must be closed is one thing I see... It also looks like novalidate needs a value like novalidate="False" or "True"...


Check to see if you copied and pasted your form correctly.

Guillermo Martínez
On 11/17/15, 2:10 PM

Try this:

<form action="//papercraft.list-manage.com/subscribe/post?u=dca1e124858ea9&amp;amp;id=3407b9b1ce" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate="False" />

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/1/15, 7:10 AM
Seen: 3401 times
Last updated: 11/17/15, 2:10 PM