title: jQuery Validation plugin with two submit buttons?
body: <p>I have one form with around 50 fields and two submit buttons, "SAVE" and "SAVE &amp; SUBMIT".
  If the user clicks "SAVE", then validate only some values, eg. field1, field2. When user clicks "SAVE &amp; SUBMIT" button, it should validate all 50 fields and submit.</p>
  
  <pre><code>&lt;form id="myform"&gt;
      &lt;input type="text" name="field1" /&gt;
      &lt;br/&gt;
      &lt;input type="text" name="field2" /&gt;
      &lt;br/&gt;
      &lt;input type="text" name="field3" /&gt;
      &lt;br/&gt;
      &lt;input type="text" name="field4" /&gt;
      &lt;br/&gt;
      &lt;input type="submit" id="button1" value="Save" /&gt;
      &lt;input type="submit" id="button2" value="Submit" /&gt;
  &lt;/form&gt;
  
  
  $(document).ready(function () {
  
      $('#button1').click(function(){          
          $("#myform").validate({             
              rules: {
                  field1: {
                      required: true                         
                  },
                  field2: {
                      required: true                        
                  }
              },
              submitHandler: function (form) { // for demo    
                  alert("data saved");
              }
          });
      }); 
  
      $('#button2').click(function(){
          $("#myform").validate({             
              rules: {
                  field1: {
                      required: true                          
                  },
                  field2: {
                      required: true                           
                  },
                  field3: {
                      required: true                         
                  },
                  field4: {
                      required: true                          
                  }
              },
              submitHandler: function (form) { // for demo
                  alert("data submited");
              }
          });
      });
  
  });
  </code></pre>
  
  <p>I have created jsfiddle for this: <a href="http://jsfiddle.net/3vjr5/2/">example test</a></p>