Back button in a SessionWizardView

2014-02-01 Thread César García Tapia
I'm writing a quite complex Wizard (lots of pages, lots of inputs), so I'd like to add a Back button to it. My first thought was just using a "history.back()" javascript call, but in the previous form I had some inputs created with Javascript that get lost if I just browse back, so I need to ac

Back button in a SessionWizardView

2014-02-02 Thread Asad Jibran Ahmed
We had a similar requirement in one of our products. We solved it by assigning the user a unique transaction id when they start the process, and saving all data in a temp db (redis) until the user completed the process. And whenever the user accessed a page with the transaction id in the get par

Re: Back button in a SessionWizardView

2014-02-02 Thread César García Tapia
Hi, Ahmed. Your suggestion makes sense, but I think that, being called *Session*WizardView, it's very likely that this information is already stored in the session data. The question is how could I "redraw" a concrete step, filled with the data previously entered by the user. I'm sure it's pos