CSE HTML validator doesn't catch this error

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
Frontier
Rank I - Novice
Rank I - Novice
Posts: 15
Joined: Fri May 19, 2006 2:18 am
Location: Denmark
Contact:

CSE HTML validator doesn't catch this error

Post by Frontier » Tue Jun 20, 2006 1:59 am

Just noticed this on a page: if any input field is outside a form area, CSE validator still says that the page is OK.

Example
<input type="text" name="mytext" value="" size="10" maxlength="10">
<form name="test" action="blabla.asp" method="post">
</form>


...just for letting the author(s) know...

Sincerely,
Klaus J.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3453
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Tue Jun 20, 2006 8:35 am

Hello Klaus,

In HTML 4.01, the form controls like "input", "select", "textarea", "label", and "button" do not have to be in a form.

However, if you wanted to, you could use the Configuration Editor (professional edition only) to require that "input" be in a form when it's used.
Image
Albert Wiersch

Post Reply