3 ms·
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
by yeukhon 13y ago
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...
- nostromo 13y agoI 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".
- yeukhon 13y agoYeah I know the first two, I wasn't aware of range actually. Looks like browsers still have a long way to catch up each other. http://caniuse.com/#search=input%20type http://caniuse.com/#search=input%20type
- jlatt 13y agoZipcodes are not numbers. As a counterexample, MA has codes beginning with 02, e.g. 02135.