Can i save my data in the session using wizard component?

Everytime the user reload the page, their inputs will be saved automatically, but how?
Solution:
You can with afterStateUpdated you can run a method to store the form data in the session with $this->form->getRawState() and encode it and push it into the session, on load if session has data push it in. On save, clear the session
Jump to solution
1 Reply
Solution
toeknee
toeknee4w ago
You can with afterStateUpdated you can run a method to store the form data in the session with $this->form->getRawState() and encode it and push it into the session, on load if session has data push it in. On save, clear the session

Did you find this page helpful?