Closed jbennegent closed 7 years ago
When going back to step 1, the data for all subsequent steps (> 1) is deleted. This is actually the expected behavior because the next time step 2 is used, its form could be built completely different based on the (changed) data given in step 1. To avoid that, you could enable dynamic step navigation (check the readme).
Wow, this is that simple. Thanks a lot.
Hello,
First, thanks for your work on this bundle. It's really usefull to me.
I have some questions about my use of it. I'm not sure if what I'm looking to do it possible or not.
My form is about a User, in 3 steps. There are 3 Contacts (entities) linked to a User.
Step 1 : Basic info of User entity Step 2 : Informations about the 3 Contacts (linked entities) Step 3 : unmapped field
When I do 1 => 2 => 3 => Submit : works well When I do 1 => 2 => 3 => 2, contacts are well displayed, with data entered before.
But when doing 1 => 2 => 3 => 2 => 1 => 2, the contacts data disappear. Note the User data of step 1 are here.
Here is a piece of my controller.
Is the way I deal with Contacts OK ? The strange thing, in my opinion, is that when I get back from step 3 to 2, Contacts are there, but not if I do 1 => 2 => 3 => 2 => 1 => 2 (as told earlier).
Thanks