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

GoddamnNoise’s picture

I'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.

rpayanm’s picture

Issue summary: View changes

See the patch on #2598472: Data lose when go back for a solution.

GoddamnNoise’s picture

Thanks, i'll check it!.

WorldFallz’s picture

Status: Active » Closed (duplicate)

yep, had the same problem and the patch on the other issue fixes it.