validatorjs / validator.js

String validation
MIT License
23.11k stars 2.31k forks source link

Scope of phone validation #2234

Open karladler opened 1 year ago

karladler commented 1 year ago

Question / Bug Is the isMobilePhone function intended to only validate mobile phone numbers or should it actually also be possible for landlines? If yes, I would rewrite this as a bug, since some german landline numbers would not validate.

Examples +4935178686876

Suggestion

WikiRik commented 1 year ago

It should only validate mobile phone numbers, but I know that there is some improvement to be done on that front. See also #2124

Outsourcing has not been discussed recently as far as I know