title: Using data-attributes with jquery validate
body: <p>Is it possible to use data-attributes to with the JQuery Validate plugin.  I currently use the class name e.g. </p>
  
  <pre><code>class="{required:true, messages:{required:'You must choose a site.'}}"` 
  </code></pre>
  
  <p>but need to use the data attribute e.g. </p>
  
  <pre><code>data-validate="{required:true, messages:{required:'You must choose a site.'}}"`
  </code></pre>
  
  <p>The inputs may have more than one data attribute associated with it which won't be related to the validation e.g. </p>
  
  <pre><code>&lt;input name="txt_txt001" type="text" maxlength="30" id="txt_txt001" class= "     
  {required:true, messages:{required:'This field is required.'} }" data-
  children="ddl_txt007,ddl_txt008" data-optionGroup="1" data-optionGroupParent=""  /&gt;
  </code></pre>
  
  <p>I know the ketchup plugin offers this but dont want to move over to it as I've put loads of work into getting the page setup with JQuery Validate.</p>
  
  <p>Thanks</p>