'checkboxes', '#title' => t('Affected forms'), '#description' => t('Please select which forms to attach the formcheck behavior to.'), '#options' => drupal_map_assoc(array_keys($options)), '#default_value' => array_filter(variable_get('formcheck_forms', array())) ); return $form; }