I am trying to pass some data to a table cell that is set-up to grow dynamically. Each time a check box is selected, a new Instance of the table row is created, and the first cell is being populated via an action script.
The issue is that the first cell populates fine, but each successive row, the first cell is being overritten and the new cells are not being populated.
I have attached the script, but looking at it, the error seems obvious, but the solution escapes me.
The error seems to be that both instances of adding text to a cell is pointing to the same cell, regardless of the new instance of a row being created. Hence I think the solution would lie in the fact that there must be some other statement, checking if a new cell (row) is created and there is content in original cell, then don't override cell but go to cell 2.... or something like that.
Any advice and help is greatly appreciated.
When first check box is clicked, the action script is as follows