title: jQuery Validate plugin - Handling of error messages
body: <p>Can I have some help for my form please</p>
  
  <p>I use the validate plugin.</p>
  
  <p><a href="http://jsfiddle.net/Xroad/2pLS2/23/" rel="nofollow">http://jsfiddle.net/Xroad/2pLS2/23/</a></p>
  
  <p>I would like a single general message for all empty fields and once the field is filled with a custom field below the concerned message (like "Please enter at least 2 characters")</p>
  
  <p>How can I do that please ? </p>
  
  <pre><code>$.validator.setDefaults({
      errorClass: 'error-image',
      validClass: 'ok-image',
      errorElement: 'span',
      errorContainer: '#invalid-empty',
      errorPlacement: function(error,element) {
      return true;
    }
  });
  
  $("#form-general").validate({
  
      rules: {
          firstname: {
              minlength: 2,
              maxlength: 25
          },
          name: {
              minlength: 2,
              maxlength: 25
          },
          email: {
              email: true
          }
      }
  
  });
  </code></pre>