title: How to make only certain Error Messages appear in the Validation Summary (MVC3)
body: <p>In MVC 3 razor there appears to be 2 options: </p>
  
  <p>Show all the errors of the various properties in the Validation Summary</p>
  
  <pre><code>@Html.ValidationSummary(false)
  </code></pre>
  
  <p>or show the errors next to the properties themselves </p>
  
  <pre><code>@Html.ValidationSummary(true)
  </code></pre>
  
  <p>But I would like only <em>some</em> of the properties to display their error in the Validation Summary, (Error messages returned from my Validate override, eg)</p>
  
  <pre><code>    public IEnumerable&lt;ValidationResult&gt; Validate(ValidationContext context)
      {
          if (string.IsNullOrWhiteSpace(HomePhoneNumber) &amp;&amp; string.IsNullOrWhiteSpace(WorkPhoneNumber) &amp;&amp; string.IsNullOrWhiteSpace(MobileNumber) &amp;&amp; string.IsNullOrWhiteSpace(FaxNumber))
          {
              yield return new ValidationResult("Please fill in at least one of the phone fields with a phone number");
          }
      }
  </code></pre>
  
  <p>and other, more simple validation to have their error message displayed next to them, as defined by the model, eg</p>
  
  <pre><code> [Required(ErrorMessage = "Please fill in your full name")]
  </code></pre>
  
  <p>Is this possible? </p>