title: .NET 4 MVC 2 Validation with annotations warning instead of error
body: <p>I am using .NET 4 with MVC 2 for validating with Annotations. Is there a (simple) solution for giving back a <strong>warning</strong> instead of the <strong>error</strong>? So that I am able to get a green or yellow box with a message like "you should not use this content, but you may".</p>
  
  <p>Big thanks in advance! :)</p>
  
  <p><b>EDIT:</b><br>
  Please observe that I am already able to throw out errors via <code>ErrorMessage</code> but I <i>additionally</i> want something like <code>WarningMessage</code> or <code>InfoMessage</code> so that the user only gets a warning but might proceed. Is there a solution for this?</p>
  
  <p>The Pseudocode would be:
  <i>(Please note the "pseudo", because <code>WarningMessage</code> is (unfortunately) not a valid class)</i></p>
  
  <pre><code>public class Person
  {
    [StringLength(50)]
    [Required(ErrorMessage = "You MUST enter a name!")]
    public string Name { get; set; }
  
    [Required(WarningMessage = "It is recommended to fill out the age but you may leave it out)]
    public int Age { get; set; }
  }
  </code></pre>
  
  <p>And <b>yes</b> I want to have this centrallized in my validation class - not somewhere in a .js-file.</p>