What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi Guys, How can we create a multi-step form in Yves, should I need to integrate the step-engine for
Hi Guys,
How can we create a multi-step form in Yves, should I need to integrate the step-engine for that, or is there another way to make it?
Comments
-
If you need a step engine then yes, If you need to do forms and be able to move forward and backwards between them - then step engine is an overkill.
0 -
Also Step engine is meant to work with quote although any transfer will do although I did not try. Also it is bound to Symfony forms and POST methods so if that is not your use case you will need to modify it.
0 -
If I want to pass the transfer object from one form to the second form step engine will handle this things? @UKHD8KTMF
0 -
yes, if should but to be honest I never tried with anything that was not quote. Do not forget the Synfony forms POST limitations.
0 -
Okay, Let me try it. Thank you @UKHD8KTMF
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
Yes step engine is the right.. u can create own data container with your transfer obj that transfer the data form form1 to form(n).
0 -
@UL65CH0MC I have one question can we pass the transfer obj without using a step engine like create data container and pass it?
Step engine using the session to store data and pass from one form to another form.0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
Yes of course u can do it.. But I don't see any pro.
U can read and write your transfer direct in controller and provide it in each form data provider etc...But i would spend 1PD more and write a step engine.. u are flexible and ready for some CR in future. and don't forget that step engine provide already the pre and post condition etc... some step can i.e. already satisfied in some conditions etc..
0 -
you mean I can read/write data container in controller, right?
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
Yes of course.. in controller u can write something so
$this->getFactory()->createDataContainer()->get or set
0 -
Oh, that pretty simple. Thanks
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random