--- apply_for_role.admin.inc	2008-09-29 09:36:03.000000000 -0700
+++ ../../apply_for_role/apply_for_role.admin.inc	2008-11-06 21:55:55.000000000 -0800
@@ -20,6 +20,25 @@ function apply_for_role_settings_form(&$
     '#type' => 'fieldset',
     '#title' => t('Apply for role options'),
   );
+  $helps = variable_get('apply_for_role_help', 0);
+  $form['options']['intro'] = array(
+    '#type' => 'textarea',
+    '#title' => t('Notes for the user to see in the application form'),
+    '#description' => t('Give the user some help notes'),
+    '#cols' => 40,
+    '#default_value' => $helps,
+    '#rows' => 3,
+    '#resizable' => FALSE,
+    '#weight' => -10,
+    );
+  $form['options']['collapsed'] = array(
+    '#type' => 'radios',
+    '#title' => t('Should fieldset be colapsed by default'),
+    '#options' => array(t('No'), t('Yes')),
+    '#default_value' => variable_get('apply_for_role_fieldset', 0),
+    '#description' => t("Choosing no will set this to expanded by default"),
+    '#required' => FALSE,
+  );
   $form['options']['multiple'] = array(
     '#type' => 'radios',
     '#title' => t('Allow multiple roles per application'),
@@ -54,17 +73,22 @@ function apply_for_role_settings_form(&$
   return $form;
 }
 
+//function apply_for_role_settings_form_validate($form, &$form_state) {
+//}
+
 function apply_for_role_settings_form_submit($form, &$form_state) {
   $roles = user_roles(TRUE);
   foreach ($form_state['values']['roles'] as $key => $value) {
     if ($value) {
       $selected_roles[$value] = $roles[$value];
     }
+   //set the help area in the form
   }
-
+  variable_set('apply_for_role_help', check_plain(''.$form['options']['intro']['#value']).'');
   variable_set('users_apply_roles', $selected_roles);
   variable_set('apply_for_role_multiple', $form['options']['multiple']['#value']);
   variable_set('apply_for_role_register', $form['options']['register']['#value']);
+  variable_set('apply_for_role_fieldset', $form['options']['collapsed']['#value']);
   drupal_set_message(t('Apply for role settings have been saved.'));
 
   $form_state['redirect'] = 'admin/settings/apply_for_role';
