Trying to add a new validation method to check a yes/no set of radio buttons:
My method: $.validator.addMethod("checkyesno", function(value) { if (value == 'Yes') { return true; } else { return false; } }, "You must read and agree to the terms and conditions before proceeding."); My rules: rules: { terms: {required: true, checkyesno: true} }, But so far have not been able to make this work... What am I doing wrong?? Thanks! Jim