Simplified example.
I have a Model which has a few fields:
OwnerFirstName
OwnerLastName
List<Pet> Pets (Pet is a few string fields)
The UI needs to allow the user to add any number of new Pets. The UI for the Pet entry is an MVC template _petEditor.cshtml
Client side, how do I add a new Pet to the Model's Pet collection, then add a new set of fields for the Pet from _petEditor.cshtml ?
When the user submits the form, MVC will get a model with all the Pets added.
You could use javascript to dynamically create indexed inputs for post back. As an example create a dummy set of inputs that are cloned and displayed when you click an 'add pet' button (assumes Pet properties are displayed in a table with id='Pets')
Note the use of a dummy indexer to prevent this one being posted back
And the script