[whatwg] Text areas with pattern attributes?

Aryeh Gregor Simetrical+w3c at gmail.com
Wed Aug 19 09:40:08 PDT 2009


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.



More information about the whatwg mailing list