Please wait, loading...

 

Input Mask Control : Format Phone number in Microsoft dynamics 365 CRM

June 10, 2020

The requirement is to mask phone number in a format that it contains Country Code and then Phone number i.e +91-9838383838

  1. Navigate to form and Select the field on which input mask control should apply
  2. Go to Control Tab

  3. Click on Add Control and select Input Mask and ADD

  4. We can use a combination of characters to specify Formate, characters are mentioned in the configuration property
    Currently, only Single line text masking is only available, We will use format #00#0000000000 Example: +91-1234567890

  5.  Click ok, Save and publish , Remember to enable the input masking were it needs to be enabled i.e phone, web, or tablet.

Testing: Now when user will try to enter a value in the Phone number, system will force user to fill as per format

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5edff544b7f53.png?fit=1918%2C767&ssl=1
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651&ssl=1
Microsoft Dynamics Community Profile

Learn more