W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2006

[whatwg] minlength attribute

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Tue, 28 Feb 2006 16:05:10 -0500
Message-ID: <4404BB06.9010105@earthlink.net>
laos wrote:
> minlength attribute.
> This attribute applies to |text|, |password|, |url|, and |email|
> input types, and |textarea| elements.
> For text input controls it specifies the minimum length of the input, in
> terms of numbers of code points

   Well, this wouldn't be useful at the actual time of input, because
you may delete enough of the contents to go below the minimum length
prior to putting in new input. Clearly this would have to apply for
validation, and I believe that the |pattern| attribute would already
cover this, as you can specify the number of character required in
|pattern|. Or am I misunderstanding how |pattern| works?
Received on Tuesday, 28 February 2006 13:05:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:26 UTC