I have a pretty ordinary tableselect element that looks like so
$form['registration_table'] = array( '#title'=>"Register", '#type' => 'tableselect', '#header' => $header, '#options' => $enrollment_options, '#js_select' => FALSE, '#multiple' => TRUE, );
What I would like is to be able to use the empty space which is reserved for the "select all" checkbox for a text label. I would like to indicate by the label what action the checkboxes represent. In this case they represent selecting a course to register for so I would like to add the label "Register" there. Any advice on how to do this?