MSCRM 2011 - Set Required Fields in Javascript - Wrong order for the alert On Save RRS feed

  • Question

  • I faced the below issue while customizing the lead entity in MSCRM 2011 with Rollup 14:

    • A set of fields are setting as required fields or none through javascript based on a specifc value
    • The issue is when clicking the CRM "Save" button, an alert will inform us to enter the required fields but the order of the required fields is not respected as displayed on the form.

    Any help can be appreciated.

    Wednesday, November 27, 2013 5:09 PM

All replies

  • Hello,

    As far as I know there is no API that gives you a possibility to create or modify order of fields that are checked during the save.

    As a workaround - you don't need to set Required level to all required for filling attributes but to validate that fields in OnSave event handler.

    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    Wednesday, November 27, 2013 5:25 PM