My multipage forms have stopped working in D6.14 (written using technique in Pro Drupal Development book). The values I place $form_state, i.e. $form_state['storage'], are disappearing when the form is validated, and I am left with just the $form_state post values.

The forms are working fine in D6.13.

Comments

grendzy’s picture

Status: Active » Closed (duplicate)

I ran into this too with storage_api module. It seems a fix is in the works over here: #302240: button broken due to fix various problems when using form storage

auctionteamster’s picture

Try re-assigning them within the function -- Im not using the multi-page form technique from the developer handbook (great source by the way) but had to tackle a similar issue in my submit function. Hope this helps

else if ($form_state['storage']['step'] == '2'){
// step 2 is the final step on this form
// so we assign the storage bin values - from the previous steps -- to the $form_state['values'][]
$form_state['values']['country_id'] = $form_state['storage']['country_id'];

bjcool’s picture

+