1 form_example_wizard.inc form_example_wizard_other_info($form, &$form_state)

Returns form elements for the 'other info' page of the wizard.

This is the third and last step of the example wizard.

Related topics

File

modules/examples/form_example/form_example_wizard.inc, line 274
Extensible wizard form example.

Code

function form_example_wizard_other_info($form, &$form_state) {
  $form = array();
  $form['aunts_name'] = array(
    '#type' => 'textfield',
    '#title' => t("Your first cousin's aunt's Social Security number"),
    '#default_value' => !empty($form_state['values']['aunts_name']) ? $form_state['values']['aunts_name'] : '',
  );
  return $form;
}