Tag Archives: hook_form_alter

Drupal 6: Customizing individual checkboxes in hook_form_alter()

When hook_form_alter() is called, form elements of type ‘checkboxes’ are not yet expanded to individual checkbox elements: Array ( [#title] => Options [#type] => checkboxes [#options] => Array ( [opt_1] => Option 1 [opt_2] => Option 2 [opt_3] => Option … Continue reading

Posted in Drupal | Tagged , , | Leave a comment