-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hello 👋
In order to improve the presentation, the merging function and the storage it would be great to be able to parse the phone numbers and save them into the same format. The issue is that the phone number format can become really complicated.
Here is a link to a great blog post explaining the issues and the possible solutions: https://www.sitepoint.com/working-phone-numbers-javascript/ .
I find the recommandations at the end really good and I hope we would be able to implement some. For the people who don't have the time to read the articles the recommandations are:
- Unless you only operate in a single country, be aware of the international differences.
- Use masked inputs with caution.
- Be very careful with regular expression-based validation.
- Where possible, use E.164 for storage.
- Use Google’s libphonenumber library.
- When displaying numbers, format them where possible, use the tel: or callto: link type, and use Microdata.
Metadata
Metadata
Assignees
Labels
No labels