In Microsoft Dynamics CRM there is no phone number field masking or format validating by default.
It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods.
Everything works fine except the phone number validation. "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.
Onblur I convert the phone number to the following. I can't seem to find the regular expression to work in this code that will validate the phone number in this format. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.
Here’s a quick code sample to do a basic phone number lookup.
Create a file named This basic functionality is free, but you can get more information by doing a carrier lookup.