I know the documentation is not complete yet, but I have some questions about how to use the package.
I'm confused about creating view (blade) files and how to specify URLs for action forms, as well as next or previous buttons. Of course, I almost solved this, but I do not know exactly what the best method is, and I hope a clearer example will be given (especially for Blade).
The next question is how to use this form wizard in editing mode? What should we do if we want to edit an entity that has already been created and stored in DB? How to access the desired Model and share it between the various step forms? Especially based on Laravel model binding.
Suppose we have defined a Wizard to register a Post, which consists of several steps (PostWizard), now if on our website it is possible for both regular users and admins (in the admin panel) to insert a post How can we use this PostWizard in both sections? (With different routes)
For example
exampl.com/user/wizard/postexampl.com/admin/wizard/post
From there, access to the wizard is possible through the ID and the address wizard/example/wizardId, now if one person comes and completes part of a form (for example, wizard number 5) and another person in his own browser enters the desired address Enter (wizard/example/5) seems to have access to information entered by the previous user. Isn't this a problem? Maybe I misunderstood this!
Hello Thanks for your interesting package.
I know the documentation is not complete yet, but I have some questions about how to use the package.
I'm confused about creating view (blade) files and how to specify URLs for action forms, as well as next or previous buttons. Of course, I almost solved this, but I do not know exactly what the best method is, and I hope a clearer example will be given (especially for Blade).
The next question is how to use this form wizard in editing mode? What should we do if we want to edit an entity that has already been created and stored in DB? How to access the desired Model and share it between the various step forms? Especially based on Laravel model binding.
Suppose we have defined a Wizard to register a Post, which consists of several steps (
PostWizard
), now if on our website it is possible for both regular users and admins (in the admin panel) to insert a post How can we use this PostWizard in both sections? (With different routes) For exampleexampl.com/user/wizard/post
exampl.com/admin/wizard/post
From there, access to the wizard is possible through the ID and the address
wizard/example/wizardId
, now if one person comes and completes part of a form (for example, wizard number 5) and another person in his own browser enters the desired address Enter (wizard/example/5
) seems to have access to information entered by the previous user. Isn't this a problem? Maybe I misunderstood this!Thank You