I am trying to add number of records and so I need to create multiple instances of same model and number of records is not known.On clicking add button a new row is generated and i need to fill the details and submit the complete form and save in the database.
In the link its about the validation of two models,I am looking on how to create an array of instances of the same model but size of array is not fixed. For validation i myself have created a form model.But how to create its array that is the main problem.