W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] Keywords for the pattern attribute [was: RFC: <input type="username">]

From: Eitan Adler <eitanadlerlist@gmail.com>
Date: Thu, 6 May 2010 20:01:58 +0300
Message-ID: <y2ua0777e081005061001r5a676b9ep11ad57563a3bfe6e@mail.gmail.com>
> <input type="text" pattern="email">
> <input type="username" pattern="email">

What if for some strange reason I wanted to only allow the text
e-m-a-i-l ? There would have to be some way to differentiate between a
keyword and a normal pattern.
Received on Thursday, 6 May 2010 10:01:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC