title: MVC3 error message declared in my model isn't taking effect
body: <pre><code>[Required(ErrorMessage = "ONLY TYPE IN NUMBERS!")]
  [Display(Name = "Telefono Fijo")]        
  public int Telephone { get; set; }
  </code></pre>
  
  <p>Basically, I'd like that when someone types in a letter, that text up there should display.</p>
  
  <p>Here's my view:</p>
  
  <pre><code>&lt;div&gt;
      @Html.LabelFor(model =&gt; model.RegisterModel.Telephone)
      @Html.EditorFor(model =&gt; model.RegisterModel.Telephone)
      @Html.ValidationMessageFor(model =&gt; model.RegisterModel.Telephone)
  &lt;/div&gt;
  </code></pre>
  
  <p>When I type in letters, I get:</p>
  
  <pre><code>"The field Telefono Fijo must be a number."
  </code></pre>
  
  <p>And when I don't type in ANYTHING, I get:</p>
  
  <pre><code>"ONLY TYPE IN NUMBERS!"
  </code></pre>
  
  <p>Any ideas? I only want the custom message to show.</p>