I've been searching around for days but can't find the solution.. I know this is a core bug and have found two solutions on http://drupal.org but both of them don't work for multi check box validation on my site (It works for single check box and multi radio buttons though).

These are what I have found:

Required radios/checkboxes are not validated (D6)

move checkboxes error class to parent div, so that checkboxes can be given a red border like other fields

My problem is that it's not outputting the error classes only for multi check box even after using those methods above. Any idea how to fix this?

1 Answer 1


Have you tried this module: Checkbox Validate ?

Corrects bugs in Drupal core:

  • Checkboxes set as required not displaying required symbol (install this module to display)
  • Checkboxes set as required behave as optional (install this module to make behave as required field)

This is the related D6 issue: #259292: Required radios/checkboxes are not validated (D6).

  • Thanks for your response. I've actually already installed this module and validation is correctly working. Also the error message "--- is required"shows correctly on the top of the page.But only the thing is that it doesn't hi-lighten multi check box with red border even if the validation fails.
    – chinita7
    Jan 21, 2012 at 2:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.