title: ASP.NET MVC validation not working when overriding jquery validator method for date
body: <p>Here's my code for the model:</p>
  
  <pre><code>[LocalizedDisplay("Caption")]
  [DataType(DataType.Text)]
  [Required(ErrorMessage = " ")]
  string Caption { get; set; }
  </code></pre>
  
  <p>View code fragment:</p>
  
  <pre><code>....
  $(function () {
      $.validator.methods.date = function (value, element) {
          Globalize.culture("he-IL");
          return this.optional(element) || Globalize.parseDate(value) !== null;
      }
  });
  </code></pre>
  
  <p></p>
  
  <p>When I override the jQuery date validation method, the environment ignores the <em>"Required"</em> attribute of the <em>"Caption"</em> property in the model:</p>
  
  <pre><code>[Required(ErrorMessage = " ")]
  </code></pre>
  
  <p>And if I just comment the abovestated javascript code - everything's working fine, except of validation for the date format <em>"dd/MM/yyyy"</em>.</p>