I have a form generator essentially, what I want to do is take the forms list of questions, dynamically generate them on the page, then retrieve the answers. Generating the questions is easy, but how do I retrieve those answers? I don't see how I can strongly type the view, but is there a way to manually grab the post values if I know the name of the input fields?
+1
A:
In your controller, access the form values directly:
var value = Request.Form["inputNameHere"];
John Sheehan
2010-08-03 21:36:20
That, or have action method with parameter of type `FormCollection`.
Necros
2010-08-04 03:11:59