ASP.NET XHTML Strict Validation & autocomplete=off

Posted by Alyn on Stack Overflow See other posts from Stack Overflow or by Alyn
Published on 2010-05-25T13:17:09Z Indexed on 2010/05/25 13:21 UTC
Read the original article Hit count: 373

We have an ASP.NET form with the following doctype:-

We need to add autocomplete=off (by setting the TextBox property of AutoCompleteType="Disabled") to the input fields but still need the form to pass XHTML Validation (yes I know it's not XHTML valid because of this).

Is there anythign we can do to ignore the autocomplete=off??

Something like:-

!ATTLIST input autocomplete CDATA #IMPLIED

Thanks in advance.

Al.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about autocomplete