On Wed, 6 Jun 2007, Sander wrote:
>
> I'd like to see a minlength attribute that can be used on the same
> elements as the maxlength attribute. The default value can be "0" unless
> the required atribute is set (in that case it should be >1). The value
> of the element should be trimmed of space
Anne van Kesteren schreef:
On Thu, 07 Jun 2007 21:21:44 +0200, Sander <[EMAIL PROTECTED]> wrote:
Before HTML5 there was no HTML validation (as opposed to JS
validation) for form controls. So truncating the input value was
probably the only way to force the given maxlength (perhaps that's
also
On Thu, 07 Jun 2007 21:21:44 +0200, Sander <[EMAIL PROTECTED]> wrote:
Before HTML5 there was no HTML validation (as opposed to JS validation)
for form controls. So truncating the input value was probably the only
way to force the given maxlength (perhaps that's also why there wasn't a
minlen
Michel Fortin schreef:
Le 2007-06-06 à 6:56, Sander a écrit :
I'd like to see a minlength attribute that can be used on the same
elements as the maxlength attribute.
I'm not sure a minlength attribute like this can be consistent with
maxlength.
The maxlength attribute prevents users from
:[EMAIL PROTECTED] On Behalf Of Sander
Sent: Wednesday, June 06, 2007 12:56 PM
To: [EMAIL PROTECTED]
Subject: [whatwg] Web Forms attributes: minlength / autocomplete
Hello,
I have a request and a question about Web Form attributes:
--- minlength ---
I'd like to see a minlength attribute tha
ailto:[EMAIL PROTECTED] On Behalf Of Thomas Broyer
Sent: Wednesday, June 06, 2007 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [whatwg] Web Forms attributes: minlength / autocomplete
Re required, see above.
maxlength was already in HTML4, so (i guess) it's kept merely for
backwards compatibili
Le 2007-06-06 à 6:56, Sander a écrit :
I'd like to see a minlength attribute that can be used on the same
elements as the maxlength attribute.
I'm not sure a minlength attribute like this can be consistent with
maxlength.
The maxlength attribute prevents users from entering more character
Thomas Broyer schreef:
<...> Even though there
are only 5 characters... if it has no meaning to someone they can easily
make mistakes: "{3,}." or ",{3.}". Easy as it is, this stuff is
abrcadabra to a lot of authors.
Given that:
If the pattern given by the attribute specifies a pattern that i
2007/6/6, Sander:
Thomas Broyer schreef:
>
> Yes, minlength could be handy, but pattern=".{3,}" is not that
> difficult (equivalent to minlength=3 here).
I see it's not really difficult, that's true (as I said before, I don't
know much about regular expressions). But as I more than once heard t
Thomas Broyer schreef:
2007/6/6, Sander:
But if you can use pattern to define a minimal length, than I'm sure you
can define a minimal length bigger than 0, which makes it required.
No, because "Controls with no value selected do not need to match
their pattern. (Although if they are required
2007/6/6, Sander:
Anne van Kesteren schreef:
>>> Why can't you use pattern= for this?
>>
>> Maybe I could use that, but as a front-end developer I'm not aware of
>> all the possibilities and grammar of regular expressions (as goes for
>> a lot of front-end developers I guess, even proffessionals
Anne van Kesteren schreef:
Why can't you use pattern= for this?
Maybe I could use that, but as a front-end developer I'm not aware of
all the possibilities and grammar of regular expressions (as goes for
a lot of front-end developers I guess, even proffessionals).
I guess pattern can be use
On Wed, 06 Jun 2007 14:15:02 +0200, Sander <[EMAIL PROTECTED]> wrote:
Why can't you use pattern= for this?
Maybe I could use that, but as a front-end developer I'm not aware of
all the possibilities and grammar of regular expressions (as goes for a
lot of front-end developers I guess, even
Anne van Kesteren schreef:
On Wed, 06 Jun 2007 12:56:23 +0200, Sander <[EMAIL PROTECTED]> wrote:
--- minlength ---
I'd like to see a minlength attribute that can be used on the same
elements as the maxlength attribute. <...>
Why can't you use pattern= for this?
Maybe I could use that, but as
On Wed, 06 Jun 2007 12:56:23 +0200, Sander <[EMAIL PROTECTED]> wrote:
--- minlength ---
I'd like to see a minlength attribute that can be used on the same
elements as the maxlength attribute. The default value can be "0" unless
the required atribute is set (in that case it should be >1). The valu
Hello,
I have a request and a question about Web Form attributes:
--- minlength ---
I'd like to see a minlength attribute that can be used on the same
elements as the maxlength attribute. The default value can be "0" unless
the required atribute is set (in that case it should be >1). The value
16 matches
Mail list logo