web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Form Required Field Validation Order

(0) ShareShare
ReportReport
Posted on by 505

We have a number of fields on one of our entity forms, which are required.  We set their required state both dynamically or through the settings.  What I'm trying to find out is the process in which CRM validates the fields.  I would like CRM to process the fields on the form from the top to the bottom.  But it seems to be more random than that.  So 2 things I'm hoping to get some answers to:

  1. What is the validation order that CRM processes the fields?
  2. Is there anyway to control this validation order?

I noticed this seemed to start to be a problem since the CRM 2011 UR12 upgrade, but not entirely sure of that.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mamatha Swamy Profile Picture
    5,426 on at
    RE: Form Required Field Validation Order

    Hi Matthew,

    The validation order is really just random. It doesn't go by the field's position on the form. Unfortunately, there is no configuration/setting to control this.

  • matthew.mickas Profile Picture
    505 on at
    RE: Form Required Field Validation Order

    I'm sure there is some strategy to the validation on the controls, but it sure feels random.  I have read something that it depends on when the controls are loaded on the page and if they are changed dynamically client side.  Still curious if anyone was able to find a way to do this, trying to avoid writing my own validation prior to CRMs.

  • ScottDurow Profile Picture
    21 on at
    RE: Form Required Field Validation Order

    Yes - this was an issue with CRM2011 after UR12. There was no way of controlling this validation order. In CRM2013 and beyond the mandatory fields are shown as red crosses on the form and there is no popup warning.

    Hope this helps,

    Scott

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans