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

[whatwg] [WF2] type=number and leading zeros

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 15 Aug 2006 07:43:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608150735350.5340@dhalsim.dreamhost.com>
On Tue, 21 Mar 2006, Hallvord Reiar Michaelsen Steen wrote:
> >
> > If the field is for a postcode or credit card number, then type=number 
> > is an inappropriate field type. Those aren't numbers, they're 
> > specially formatted strings.
> 
> Thanks for clarifying. Could the spec give clearer advice to authors on 
> this point? We've come across this problem in the wild (it is perhaps 
> more likely to be part of a custom form validation than an attempt at 
> following WF2 but I can see authors getting a bit too excited about the 
> new types and label anything that looks like a number with type=number.)

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 August 2006 00:43:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC