title: How to use jquery.validate plugin in cakephp form
body: <p>My jQuery code is:</p>
  
  <pre><code>$(document).ready(function(){   
    $('#StudentRegisterForm').validate({          
      rules: {
        email: {
          required:true,
          email:true
        }
      }
    });    
  });
  </code></pre>
  
  <p>and in my form email:</p>
  
  <pre><code>&lt;td&gt;&lt;?php echo $form-&gt;input('email',array('class required email')); ?&gt;&lt;/td&gt;
  </code></pre>
  
  <p>The problem is jquery validate plugin works on the input fields attribute 'name' but cakephp names it as <code>data[Student][email]</code>.  If I use this name in jquery its throwing an error.  If I rename the field in cakephp the email value is not passed to the database.  Is there any other round about way?</p>