I'm creating a 5 step wizard using MVC. I've created the first step and obtained the values selected from the form.
The form layouts of the next steps will depend on the options the user has selected in step1.
Could someone please advise the best way to achieve this? I've thought about dynamically altering the steps using JavaScript and then after all steps are completed, submit all the data.... Or would it be best to submit the data after each step?
If I did submit the data after each step, is it possible to access the same class where the data will be stored between controllers?
I'd normally use session variables in php, is there something similar I can do using MVC?
Sorry I'm quite new to MVC and need a little help to point me in the right direction
Thanks