title: jQuery Validate conditional error messages for same field
body: <p>I would want to different error messages for a single field  based on conditions like below.</p>
  
  <pre><code> jQuery(document).ready(function () {
      //...
  
  
      ..//
  
      $("#aID").validate({
              rules: {
                  reason: "required",
                  aic: "required"
                  aAmt:{
                      required: function (element) {          
                      var err;
                      var new_balance = Math.round(100*beg_balance)/100 - Math.abs(Math.round(100*adjustAmount)/100);
              if ((parseInt(aAmount) &gt;= parseInt(a_limit_amount))) {
                  err = "123";                        
                  return true;
              }
              else if (new_balance)
              {
  
                  err = "321";
                  return true;
              }
              return false;
                      }
                  }
              }
              },
              messages: {
                  reason:"Please select a reason code.",
                  aic: "Please select a credit AIC.",
                  pwdOverride: err
              },
  
      });
  </code></pre>
  
  <p>There is an option like below</p>
  
  <pre><code>messages: {
    RoutingNumber: {
      required:"Message1",
      digits: "Message2",
      rangelength: "Message 3"
    }
  }
  </code></pre>
  
  <p>But mine doesn't have any built it validation methods from this plugin. 
  Any help on how to achieve it?</p>
  
  <p>What I mean for built in validation is if you see my else loop for <code>aAmt</code> : <code>rules</code>, it doesn't fit in jQuery Validate's built in validation such as:  <a href="https://jqueryvalidation.org/documentation/#link-list-of-built-in-validation-methods" rel="nofollow">List of built in validation methods</a></p>