W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Text areas with pattern attributes?

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Wed, 19 Aug 2009 12:40:08 -0400
Message-ID: <7c2a12e20908190940k12067829xb60cc28f2ab0c20b@mail.gmail.com>
On Wed, Aug 19, 2009 at 11:32 AM, Geoffrey Sneddon<gsneddon at opera.com> wrote:
> What's the use-case for it? Textareas are almost always for such large
> amounts of input that they are almost always free-form text. Why allow the
> pattern attribute?

You could impose a minimum character length for posts -- that's common
on forums.  Or ban certain words or phrases.  As always, presumably
you'd have server-side enforcement too.
Received on Wednesday, 19 August 2009 09:40:08 UTC

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