<br><br><div><span class="gmail_quote">2006/2/28, Matthew Raymond <<a href="mailto:mattraymond@earthlink.net">mattraymond@earthlink.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
laos wrote:<br>> minlength attribute.<br>> This attribute applies to |text|, |password|, |url|, and |email|<br>> input types, and |textarea| elements.<br>><br>> For text input controls it specifies the minimum length of the input, in
<br>> terms of numbers of code points<br><br> Well, this wouldn't be useful at the actual time of input, because<br>you may delete enough of the contents to go below the minimum length<br>prior to putting in new input. Clearly this would have to apply for
<br>validation, and I believe that the |pattern| attribute would already<br>cover this, as you can specify the number of character required in<br>|pattern|. Or am I misunderstanding how |pattern| works?<br></blockquote></div>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">I
think that this would be useful for forms in which a username or
password is asked, and is required that they contain at least six or
eight characters and I also consider that would be useful so that the
user agents show error messages.<br>
The pattern attribute could solve this (with exception of the error
message), but also this attribute would solve many cases that the
specification solves of other way (I think that most of the things they
could be solved with this attribute).<br>
<br>
Pardon for my English, I am from Colombia. :-)<br>
<br>
-- <br>Carlos sanabria<br>Ingeniero de Sistemas