Hello,
I have a form:
The idea is that every time the "Add a Dependant Item" button is clicked, the Item whose "Add a Dependant Item" button was clicked will have an additional field for another dependant item. (Thanks to Fehérke!)
Similarly, when the "Add Another Item" button is clicked, the form should have another item with all the usual fields. How do I go about this?
More importantly, when all is said and done and sent to the server, how will the server know which Dependant Item belongs to which Item?
Thanks very much for your time!
Csanád
I have a form:
The idea is that every time the "Add a Dependant Item" button is clicked, the Item whose "Add a Dependant Item" button was clicked will have an additional field for another dependant item. (Thanks to Fehérke!)
Similarly, when the "Add Another Item" button is clicked, the form should have another item with all the usual fields. How do I go about this?
More importantly, when all is said and done and sent to the server, how will the server know which Dependant Item belongs to which Item?
Thanks very much for your time!
Csanád