3 ms·
> Phone number input boxes like to torture me - the ones conveniently divided into three boxes for the three parts of the number. If you are a web developer, a
by gregmac 11y ago
> Phone number input boxes like to torture me - the ones conveniently divided into three boxes for the three parts of the number.
If you are a web developer, and you do this: stop.
This works for the North American numbers only. Get a user from the UK and you'll have to undo all this anyways.
Not to mention the complaint in parent's comment, that you can no longer copy/paste, plus the inclusion of javascript to skip to the next box (or the lack thereof) is confusing from a UX perspective.
Allow phone numbers to be entered in any format in a simple text box.
If you want, apply formatting after the fact based on the country, though I think this is even not a good idea. In some cases, the phone number won't be from the same country as the user (with VoIP and mobile, phone number locality is no longer a thing). Dialing formats are also a source of confusion, eg: do you include or require country code?