<html>
<head>
<title>Title</title>
</head>
<body>
<form name="testform">
<input name="foo" type="text" size="12"> <!-- this is one bad one with a missin maxlength -->
<input name="bar" type="radio">
<input name="bat" type="text" disabled> <!-- no maxlength, but disabled so it's OK -->
<input name="baz" type="text" maxlength=" 14 "> <!-- spaces shouldn't be a problem -->
<input name="quux" type="text" size="12" maxlength="dogs"> <!-- not an integer -->
<input name="crunchy" type="text" size="12" maxlength="-1"> <!-- negative -->
</form>
</body>
</html>