In my code, that JavaScript error was caused by missing "name" attribute of an "input" tag, having jQuery.validation class "required".
For example:
input class="required" id="agree" type="checkbox" value="yes"
produces the error
input class="required" id="agree" type="checkbox" value="yes" name="agree"
works fine
Thanks, my issue was similar except I was trying to call $('#someform_id').validate() and my form didn't have the right ID on it
ReplyDeleteThanks! This just saved me some time. :-)
ReplyDelete