I have a form with company level information. At the bottom of the form I would like to have a subform (or just a set of input boxes) that contain information about a department.
And when they start entering information into one of the department level fields, another subform (or set of input boxes) is created below it.
And so on ad infinum.
This way they can add as many department level records as they want because the amount of inputs available is always one greater than the amount they've actually edited.
Naturally, being able to reference these fields/subforms with an array would be necessary so I could loop through the array and do a series of update/insert queries.
How could I go about doing this.
And when they start entering information into one of the department level fields, another subform (or set of input boxes) is created below it.
And so on ad infinum.
This way they can add as many department level records as they want because the amount of inputs available is always one greater than the amount they've actually edited.
Naturally, being able to reference these fields/subforms with an array would be necessary so I could loop through the array and do a series of update/insert queries.
How could I go about doing this.