I have an ActionResult returning from a strongly typed view where I manually validate some conditions, pass in an error message, but would like to preserve the users responses.
Since my View is strongly typed, I am calling it like this:
return View("PrincipalInvestigatorForm", new SmartFormViewModel(sections, questions));
My problem though, is that the error message is displayed but all the users data is wiped. How do I preserve the "ViewState" in MVC? Is there an easy way?