Page 1 of 1

CSE HTML validator doesn't catch this error

Posted: Tue Jun 20, 2006 1:59 am
by Frontier
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.

Posted: Tue Jun 20, 2006 8:35 am
by Albert Wiersch
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.