I am new to ASP.NET MVC and need some help. I have a need to create a form where the form is dynamically created. For example let\'s say I have a model named Person. The
Steven Sanderson, in his blog, has a very nice article about this... it is not relying in numeric indexes for each person to avoid "holes" when removing one in the middle.
See the article here: http://blog.stevensanderson.com/2010/01/28/editing-a-variable-length-list-aspnet-mvc-2-style/
Then, you will need validation: http://blog.stevensanderson.com/2010/01/28/validating-a-variable-length-list-aspnet-mvc-2-style/
I'm using this code in MVC 3 and 4... and it works like a charm.