title: Validating Multiple Textbox Date with jQuery Validate
body: <p>I'm trying to write a custom method to validate a date. The date however exists in three text boxes. Furthermore, there may be multiple instances of this date.</p>
  
  <pre><code>    &lt;div class="customDate"&gt; 
          &lt;input class="month" id="dob_Month" maxlength="2" name="dob.Month" type="text"  /&gt; 
          /
          &lt;input class="day" id="dob_Day" maxlength="2" name="dob.Day" type="text" /&gt; 
          /
          &lt;input class="year" id="dob_Year" maxlength="4" name="dob.Year" type="text"  /&gt; 
      &lt;/div&gt; 
  </code></pre>
  
  <p>On submit, I'd like to validate any div containing the customDate class. I.e. <strong>make sure all boxes have been filled</strong>, make sure ranges are correct, etc. I'm using the following code:</p>
  
  <pre><code>$.validator.addMethod("customDate", function(element) { return false;}, "error message");
  </code></pre>
  
  <p>The validation function isn't firing however.  What am I missing? Also, is there a better way to do this.</p>
  
  <p>Note: I've stubbed out the functionality for the actual validation logic. I just need to know how to get the validation method to fire. </p>