Hi is there a way for making multistep form with sonata admin. Using other bundle?
Thanks
Would you be able to persist the object after the form step? If yes, I think you can do that by injecting a stepNumber shown in your url inside the admin, and then use it in the form mapper to change the displayed fields. So step one would call createAction, and following steps would call editAction
Thanks Gregoire, i will try this :)
Can you close this issue?
Hi,I don't have finish my test i will close it when i've finish them !! :)
@locs31 ping
I haven't finish yet! Sorry for the late!!
Hi, we try to keep Github issues for bug reports and feature requests only. If you have a question, please ask it on Stack Overflow.
@greg0ire Please provide me a full example working code about what you've said :
https://github.com/sonata-project/SonataAdminBundle/issues/3665#issuecomment-197840200
"Would you be able to persist the object after the form step? If yes, I think you can do that by injecting a stepNumber show in your url inside the admin, and then use it in the form mapper to change the displayed fields. So step one would call createAction, and following steps would call editAction"

Please next time @greg0ire. I've to build an application for managing an insurant and his beneficiaries for company traineeships.
So I've to build a form with steps by steps validation.
Thanks in advance
You can use https://github.com/craue/CraueFormFlowBundle and a custom symfony controller to do so, but don鈥檛 know how to do it with sonata
Thanks you @OskarStark , I'll try it but If i could find a sonata native way, it'll be better for me.
Then let us know 馃槈
Most helpful comment