25 Oct’17

Dynamics 365, EnterpriseInput Mask on D365 Control


Now, you may have a requirement where you’d want users to input data in a correct format for better readability and validity.

There is a feature for a control where you can achieve this in tablet/mobile app of D365 and on the new v9 version of D365. It is called Input Mask

For this example, I’ll demonstrate the feature on the new D365 v9’s Unified Interface.

Define Input Mast for a control:

Here’s how you can define an Input Mask for a control. Take an example of a Lead where I want business users to enter Business Phone field in a specified format only:

  1. Navigate to change the Field Properties on the Lead form:

    And click on Add Control to add the new type of control for the field.
  2. Select Input Mask and click Add.
  3. Select where you want the Input Mask to effect and then select the pencil icon to edit the condition
  4. Create your format by following the instructions. You can either bind to a value on a field or bind to a static value. I selected to bind to a static value.
    Confirm your changes and publish the same as below

Input Mask Validating user input

Since you’ve published the changes, let’s take a look at the Lead form and check the validation message if incorrect format is entered.

  • Navigate to the Lead form in the Unified Interface. And enter the Business Phone which is not compliant to the specified format.

    You’ll see the validation error.

  • Only when I enter correct format, I’m able to save the same.

Hope this quick tip was helpful!

Written by

Priyesh Wagh

Sr. Software Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Managing mailbox through Email Archiving

    20 March’ 2018

    Introduction: Email can fill your Outlook Inbox quickly – new messages, replies, and forwards. Before you know it, yo...

    Read more
  • Workaround to Report.SAVEASPDF in NAV 2018

    20 March’ 2018

    Objective: In NAV 2017 Emailing the PDF by running the report using Report.SAVEASPDF is now not allowed in NAV 2018. Th...

    Read more
  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more