Sounds like you are using Forms (not XForms).I'd recomend you change to XForms.
Found Oskars reply on the old forum.
Found a solution to the problem a while back. Put this line in web.config. That will solve it.
<xhtmlConformance mode="Legacy" />
However I would also recomend users to go over to XForms.