[whatwg] Text areas with pattern attributes?

On Sat, 29 Aug 2009, Mike Shaver wrote:
> On Sat, Aug 29, 2009 at 9:44 PM, Ian Hickson<ian at hixie.ch> wrote:
> > On Wed, 19 Aug 2009, Mike Shaver wrote:
> >>
> >> 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.
> >
> > This is handled by <input type=email multiple>.
> 
> For one of the 3 cases, yes.  What for the other 2?
> 
> Should we specify <input type=text multiple>, for related but distinct 
> text entries?

I've not seen a multiple URL input field before, but if that's a problem 
worth solving, we can in the future make multiple="" apply to type=url also.

I agree that pattern="" might make sense for multiline code entry. 
However, unless that's much more common than I've so far seen, I don't 
think it hits our 80% bar.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 29 August 2009 18:57:06 UTC