When my last company did phone numbers we just let it be free text…
When my last company did phone numbers we just let it be free text…
I've even run into trouble occasionally as a Western person with fairly normal first and last but no middle name. More than once I've been confronted with online forms that require a middle name (not for many years though, thankfully).
Good times.
There is an ISO standard for phone numbers, actually. There are even libraries to parse phone numbers into the format. That being said, for “non machine readable” phone numbers (say for a contacts app) some say you should keep it free text because people plug all kinds of shit into the field and if you aren’t using it to send messages/voice/whatever just let the user do whatever…
The problem arises when the order is reversed (e.g Vietnamese), or when there's only one name and the form requires at least two names. And probably for other name formats saying around the world that I'm not aware of.
First: Miquel Middle: empty Last: Martí i Pol
The problem is for names that don't work in that format.