Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other HTML5 Input Types for Credit Card Numbers? Reply To: HTML5 Input Types for Credit Card Numbers?

#146376
Paulie_D
Moderator

Hmmm.

To me a Credit Card Number isn’t actually a number at all…if you see what I mean.

It’s actually, the way I see it, a text string (or 4 text strings if you like).

You aren’t going to do any manipulation of the number so there really isn’t any need to treat it as one.

Anyway, here’s an article on HTML5 inputs…’number’ is about half way down.

http://html5doctor.com/html5-forms-input-types/

The article actually references an old video by Chris Coyier.