I'm redesign my Family registration page. I want to use Fieldsets, one for the husband data (fname, lname, dob...) and another for the wife (fname, lname...) Currently I am thinking what kind of fields I should use for children. I want to have some thing flexible because each family has different number of children or no children.
I think I may have a grid to list children and a form next to it. The user can fill out the form with a child's data. The user clicks "Add", the child is added to the Grid. However it's not straightforward to me how to read children data when the user submits the registration.
I'd like to hear other suggestions from people in this forum and I very appreciate any help.
Another thought that I can use Ext.grid.plugin.RowEditing for the Children section. In this way I don't need a form to collect a child's data. However how do I do so that when the grid is loaded empty at the 1st time and the user clicks to add a new entry?