locked
Require field validation not working RRS feed

  • Question

  • Hi,

    I have created a new entity  "Purchase order" and set some fields to require .

    But When I trying to save without adding ny data ,record will be save.

    How can I solve this?

    New purchase order

    After Save..

    It will be saved as a blank record..though i have set require field validation

    Monday, October 19, 2015 5:09 AM

All replies

  • Hello,

    Based on your screenshot I can assume that all fields are locked. By design required fields are not checked when it is locked. So there are 2 ways to solved your issue:

    1. Unlock field (make it editable).

    2. Develop Function that will handle OnSave event and cancel save if one of required locked fields is not populated.


    Dynamics CRM MVP
    My blog

    • Proposed as answer by Mayank Pujara Monday, October 19, 2015 12:43 PM
    Monday, October 19, 2015 7:41 AM
    Moderator