Good morning,
I'm relatively new to Drupal and working on my first module.
I've successfully created a new form for my module:
function timeoff_form(&$node) {
$form['info'] = array(
'#type' => 'fieldset',
'#title' => t('Employee Info')
);
$form['info']['employee_name'] = array(
'#type'=> 'markup',
'#value' => t('
'),
);
$form['info']['date_submitted'] = array(
'#type'=> 'markup',
'#value' => t('
'),
);
$form['info']['clock_number'] = array(
'#type'=> 'textfield',
'#title' => t('Clock #'),
'#required' => TRUE,
'#maxlength' => 20
);
$form['info']['department'] = array(
'#type'=> 'textfield',
'#title' => t('Department'),
'#required' => TRUE,
'#maxlength' => 40
);
$form['request_info1'] = array(
'#type' => 'fieldset',
'#title' => t('Request #1'),
'#collapsible' => TRUE,
'#collapsed' => FALSE,
);
$form['request_info1']['dates_out1'] = array(
'#type'=> 'textfield',
'#title' => t('Date(s) to be out'),