I have a user input form where the user can choose to specify a number of input fields used for database input.
So what I did is to create a loop within the same form and then created the fields the number of times the user has specified.
Example: the user has specified the value of 3
So this mean we have values for 3 database records.
1. Field1, Field2, Field3
2. Field1, Field2, Field3
3. Field1, Field2, Field3
The problem is that the fields has the same names. It is possible to loop the entire form over and over again with a submit button attached to each form. But I also want to keep the user activity to a minimum and the user just have to submit all of the fields once. I have tried so send it all over to an array but there is problems splitting that up.
Any suggestions or advices is more than welcome.