Closed (duplicate)
Project:
Drupal core
Version:
6.14
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2009 at 22:31 UTC
Updated:
9 Oct 2009 at 08:20 UTC
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
Comment #1
grendzy commentedI 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
Comment #2
auctionteamster commentedTry 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'];
Comment #3
bjcool commented+