18
Views
2
Comments
Looking for a component or a lib that can verify phone numbers on a global level.

Hello

I am looking for a forge or lib. That given phone number  X from country Y it will validate if for the rules of country Y. 

Currently we do this by a simple regular expression but this is no longer sufficient.

Any tips or things we should look at?


Kind regards

Simon

Hello Simon, 
Have you tried already this forge component? 

Best regards,

Ana

Hey Ana

 I thought I already replied. This would only would work partially since I also need it to have server side validation this only seems to be able to work as a Front-End component. On server side this is not able to be implemented. (Through Rest for example ) Otherwise it would be a great component. Also some numbers for US & Brazil do not seem to pass the validation.

Any other recommendations?

Kind regards

Simon

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.