title: Required error msg before custom error msg
body: <p>I have some class using Data Annotations in asp.net mvc. </p>
  
  <p>The problem is that when the user types nothing into the field, my custom validation fires and gives a msg that the data is incorrect. </p>
  
  <p>The thing is, I'd like to display to the user the error that is linked with empty field - required error Msg. </p>
  
  <pre><code>    [Required(ErrorMessageResourceName = nameof(pl.accountNumberRequiredErrorMsg), ErrorMessageResourceType = typeof(pl))]
      [Display(Name = nameof(pl.accountNumber), ResourceType = typeof(pl))]
      [MaxLength(50, ErrorMessageResourceName = nameof(pl.accountNumberFieldTooLongErrorMsg), ErrorMessageResourceType = typeof(pl))]
      [DisplayFormat(ConvertEmptyStringToNull = false)]
      [Namespace.Validators.AccountNumber(ErrorMessageResourceName = nameof(pl.accountNumberNotValidErrorMsg), ErrorMessageResourceType = typeof(pl))]
      public string accountNumber{ get; set; }
  </code></pre>
  
  <p>all displayed text is from resources. </p>
  
  <p>User gets the 
  <strong>accountNumberNotValidErrorMsg</strong> 
  but should 
  <strong>accountNumberRequiredErrorMsg</strong> 
  because the user didn't write anything in the field. </p>
  
  <p>Is there a way to make sure that the first error would be the required error? </p>