Create table of input fields and dynamically add a further row by pressing a button then by pressing a further button create a row of input fields for a childd table
Posted on 2011-09-13
I would like to be able to be able to generate a row of input fileds type 'P' - records Parent and when they are complete I would like to add a further empty row of the 'P' type fields at the press of a button.
When any 'P' row is complete I would like to press a different button to add a row of input fields type 'C' - Child records on completion of that row add further rows of either 'P' or 'C' type pressing the appropriate button.
Can anybody point me at a template or a source of code that I could use or adapt.
Thank you for reading this