Each time a user clicks Add button, this group of fields appear and name its individual input field by order. Next time user clicks Add button, each individual field in group 2 has like name2, dob2, and so on.
I think I can make the group of input fields appear when Add is clicked, however, how can I name each field or next group of input fields according to its created order? #input1, #input2, #input3…
Can someone kindly guide me as specific as possible?
At this point you can only use the show/hide methods to achieve it. You can set a dedicated ID in the form #input1_1#input1_2 where 1 is the row and 1,2 are the location in a row.
A better solution would be with having input parameters in a repeater element. It is not possible at the moment but using input elements in the a repeater is on our list.