title: jQuery validate equalTo
body: <p>I would like to use jQuery validate() plugin using the equalTo to validate a signature field, basically the signature field must match the first name and last name field, is this possible using the validate() plugin?</p>
  
  <p><a href="http://jqueryvalidation.org/equalTo-method/" rel="nofollow">http://jqueryvalidation.org/equalTo-method/</a> shows me how to check if it is equal to another input, but can it do like the following?</p>
  
  <p>equalTo: field1 + field2</p>
  
  <p>as oppose to</p>
  
  <p>equalTo: field1,</p>
  
  <p>basically what I'm asking is can we concatenate 2 fields and use that in the validate() plugin?</p>
  
  <pre><code>                    &lt;li&gt;
                          &lt;label&gt;
                              First Name &lt;span class="form-required"&gt;*&lt;/span&gt;
                          &lt;/label&gt;
                          &lt;div&gt;
                              &lt;input type="text" class="form-textbox"  id="first_name" name="first_name" size="20" value="" required/&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;label&gt;
                              Family Name &lt;span class="form-required"&gt;*&lt;/span&gt;
                          &lt;/label&gt;
                          &lt;div&gt;
                              &lt;input type="text" class="form-textbox"  id="last_name" name="last_name" size="20" value="" required/&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
  
  $("#myForm").validate({
  
      // Specify the validation rules
      rules: {
  
          //First Name
          first_name: "required",
  
          //Family Name
          last_name: "required"
     },
  
      // Specify the validation error messages
      messages: {
  
          //First Name
          first_name: "Please enter your first name",
  
          //Family Name
          last_name: "Please enter your family name"
     },
  
      submitHandler: function(form) {
          form.submit();
      }
  });
  
  });
  </code></pre>