title: jQuery Validate - Multiple Rules per Element?
body: <p>I have a form which I would like to validate certain fields as being required as well as being digits. I'm having trouble figuring out how to apply both rules to said fields.</p>
  
  <p>Currently here is how I am applying only the required rule, displaying the message in a span I have built into my form.</p>
  
  <pre><code>    if (jQuery.validator) {
      jQuery.validator.setDefaults({
          errorPlacement: function (error, element) {
              error.appendTo('#invalid-' + element.attr('id'));
          }
      });
  }
  
  $("#UserInputs").validate();
  
  
  &lt;label for="AvgGroupSize"&gt;Average Group Size:&lt;/label&gt;&lt;br /&gt;
  &lt;span id="invalid-AvgGroupSize"&gt;&lt;/span&gt;
  &lt;input type='text' id='AvgGroupSize' class='required' size='4' value='15'/&gt; EEA's
  </code></pre>
  
  <p>How would I able to add a second validation rule (digits) to this field?</p>
  
  <p>Thank you.</p>