[whatwg] Text areas with pattern attributes?

Mike Shaver mike.shaver at gmail.com
Wed Aug 19 12:18:20 PDT 2009


On Wed, Aug 19, 2009 at 2:38 PM, Jonas Sicking<jonas at sicking.cc> wrote:
> So for the pattern attribute, a use case would be on a site that
> accepts US addresses (for example a store that only ships within the
> US), the site could use a textarea together with a pattern that
> matches US addresses.

It's also pretty common to enter multiple email addresses or tracking
numbers or URLs one-per-line for batch operations on sites, and they
would benefit from having client-side validation of such patterns.

Mike



More information about the whatwg mailing list