Re:Show HN: I'm open sourcing Creditly.js, an intuitive cred...
by nostromo on Saturday January 25, 2014 @10:21PM
(#7123705)
Why isn't <input type="card"> a thing?
[ Parent
| on HN ]
Re:Show HN: I'm open sourcing Creditly.js, an intuitive cred...
by yeukhon on Saturday January 25, 2014 @11:53PM
(#7123944)
I know right?!
I am going to it satire. Anyhow, because then we would have birthday, zip code, telephone and custom ID number all wanted to be implemented. But it would be nice if there is an API in jQuery or in HTML that allows developer to specify the format of the input...
Re:Show HN: I'm open sourcing Creditly.js, an intuitive cred...
by nostromo on Sunday January 26, 2014 @12:08AM
(#7123966)
I know you're joking, but we do have all of those in html5.
We have birthday in the form of date (<input type="date">) and telephone (<input type="tel">). For US zip codes and custom-ids you could use type="range" or type="number".