$form_state['values'] empty in form _submit hook I have an issue with a form I built in a custom module using drupal_get_form() on a menu callback.

My form callback function is _foo_form($form, $form_state) and my submit function _foo_form_submit($form, $form_state).

When I submit the form, $form_state['values'] contains the value in the form callback, but in the submission handler $form_state['values'] is empty.

Here is my module code:

function configurator_menu() {
  $items = array();
  $items['node/%/configurator/items'] = array(
    'title' =&gt; 'Steps &amp; items',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('_configurator_node_edit_item', 'list', 1, ''),
    'access arguments' =&gt; array('administrer configurator'),
    'type' =&gt; MENU_DEFAULT_LOCAL_TASK,
  );
}

function _configurator_node_edit_item($form_state, $op, $nid, $iid) {
  $form = array();
  $form['nid'] = array(
    '#type' =&gt; 'hidden',
    '#value' =&gt; $nid
  );
  $form['title'] = array(
    '#title' =&gt; 'Step label',
    '#type' =&gt; 'textfield',
    '#value' =&gt; '',
    '#size' =&gt; 30
  );
  $form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; 'Save',
  );

  return $form;
}

function _configurator_node_edit_item_submit($form, $form_state) {
  dpm($form_state['values']); // devel function to print variable in drupal messages
  // returns an empty array
}


Do you have any idea?
Change property '#value' to '#default_value'.