Add Check All Boxes to Forms
I just wanted to make a quick announcement about a 5.0 module I packaged up today based on some older code by wrunt and made a little more functional. The Javascript was also tidied up and slimmed down using jQuery. What you'll find is a module that for site owners lets you enable a "check all" checkbox for the comment, post, and user forms and for developers lets you add checkall elements to your forms that can select or deselect all the checkboxes in a group based on the element ID.
(There's also the hope that this module can be used to add "check all" boxes to any form on your site, since the box is added to these forms using hook_form_alter and the data for which forms and which boxes to target is stored in an array using variable_set.)
I understand there's some other discussion about this, and all I could tell from a cursory glance at the patches and code is that I can't tell much. I don't know how the patch overlaps with this, but I know what this does and so I offer it to you! It's at least handy for the checkall box on admin forms until the core gets changed. ; )
As with my other development work, this module was written to support the Übercart project, and documentation/examples may be found at http://www.ubercart.org/uberlearn/checkall.

Link
And... I'm a dunce. ^_^
The name of the module is checkall, and you can find it here:
http://drupal.org/project/checkall
Great idea
Hello,
I think that your module will be a great new addition to Drupal 5. I can't wait until I can use it for production. I'll be interested to learn more about ubercart too.
Thanks for the feedback.
Thanks for the feedback. We're using it to get rid of spam comments from the approval queue. : ) Works like a charm... I should try and backport it to 4.7. I heard there was a patch to put jQuery into that version...
This is for 4.7
Hi there!
I've solved che checkall problem in 4.7 with a javascript function in theme page.tpl.php and a hack row in node.module:1151
Detailed info at http://www.fagioli.biz/?q=drupal-form-checkall
Maybe useful to you?
Interesting solution. : )
Interesting solution. : ) Would be very handy if instead of hacking a core module it used a contrib module with hook_form_alter to add the box to the form.
----------------------
Current Drupal project: http://www.ubercart.org
I do agree with you...
I do agree with you...