[whatwg] credit card numbers

On Wed, 4 Aug 2004, [iso-8859-1] H?kon Wium Lie wrote:
>
> In
> 
>   http://www.w3.org/2004/07/css-mmi/
> 
> credit card numbers have their own type.

A string matching the pattern="[0-9]{10}" is a credit card number:

   <input pattern="[0-9]{10}">

We don't really want to have a specific type for them in case the type 
definition changes, IMHO.


> Perhaps expire dates should as well. This would help auto-fillout 
> immensely and merchants would rejoice.

Expiry dates already have their own type ("month", previously called 
"expdate", renamed by popular demand).

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

Received on Sunday, 22 August 2004 12:49:22 UTC