Update validate.js

Suggestion: pass the field object to support custom rules on checkboxes and radios