magento / magento/community-features
Add international phone number validation
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Right now, the built-in phone number validation includes the following:
- US format
- UK format
- UK (mobile) format
- Strict (validates to only US format)
- Lax (not empty, suggests US format in text)
A phone number could include any numbers, as well as the symbols + ( ) - #
For example, (+44) 1234 2553-421 #8 might be a UK number with extension 8.
It would be nice to have an international phone number validation option which allows any combination of those characters. Especially in a modern, global world where everyone's buying things online from everywhere on the internet, it's important to have global validation like this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue, so first locate the built-in phone validation options and their tests. The work is done when an international option accepts digits and the symbols + ( ) - #, including numbers with extensions such as the example, without changing the existing formats.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100