In the Extensible wizard example I did this.
- First page: Added text in the first name and last name.
- Second page: Added text in city
- Third page: in this page I clicked previous
- Second page: the content of this page is ok, but when I go the first page and then the second again, the content of the second disappear.
Comments
Comment #1
GoddamnNoise commentedI've the same problem too. When the form property
'#limit_validation_errors' => array()'is on the$form['prev']form element, form's stored values are erased as you click previous button. So, if you create a multistep form with N steps, you correctly fill in each step's information and when you are in the Nth step, you click on previous button N-1 times to go back to the first step, all the steps' information is erased except for the first step, forcing you to fill in again all the information in steps 2, 3... N.Comment #2
rpayanmSee the patch on #2598472: Data lose when go back for a solution.
Comment #3
GoddamnNoise commentedThanks, i'll check it!.
Comment #4
WorldFallz commentedyep, had the same problem and the patch on the other issue fixes it.