3 step validation with dataannotations
- by molgan
Hello
I'm trying to build a "wizard-like" app that has 3 pages. First one you fill in some requests, then you select time and date, and last step is to fill in your name and address etc.
How should the validation be taken care of, since I also need to validate all "3 steps" when pressing submit on the last step.
Do I need to have 4 viewmodels there? like step1model, step2model...... and then validateallmodel?
And must I use some session-like in between since it "redirect's" to next step if successful?
/M