Using CCK, I created a simple content type and a corresponding create content type form which includes a checkbox (set to "Required"). The checkbox is unchecked by default, and I'd like to ensure that the user checks it before the content type node is created. Based upon what I've read, I assumed that the Checkbox Validate Module would perform this validation for me for the "Required" checkbox on my form. Unfortunately, it doesn't appear to work for me in Drupal 6.x. (The asterisk doesn't appear next to the checkbox field indicating it is required AND the validation doesn't appear to be taking place.) Therefore, either (1) the module doesn't work in 6.x or (2) I'm misunderstanding what the module does. It's usually the latter. Please let me know what I'm missing about Checkbox Validate or if anyone out there is successfully using Checkbox Validate in Drupal 6.x. Thank you.

Comments

wardazo’s picture

Did you find a solution?

StormDruper’s picture

Unfortunately, no, I haven't found a solution. There are several forum topic threads that discuss the bug in core where required checkboxes aren't validated (http://drupal.org/node/179932 and http://drupal.org/node/259292). One of these threads is over two years old. The Checkbox Validate Module was created to "circumvent" the bug. My concern is that this workaround doesn't seem to work around. Unless I'm misunderstanding it, the Checkbox Validate Module doesn't work for me. This seems to be a pretty important module (and is required for the Legal module). Is Checkbox Validate Module working for anyone? Thanks!

markosaurus’s picture

But it stops drupal sending out the verification email to my users, which is nice, since this email contains their password!

I uninstalled the module and it still seems to be running, so I am led to believe that this has committed changes to the core files!