Hi Folks,
Hoping someone can help me here.
Have pulled together a dynamic LiveCycle form that is made up of a number of expanding tables spanning two pages but seem to be having trouble with the add instance and remove instance managers re: adding or removing a row from one of those tables. Or at least I'm guessing that's where the problem is.
I have renamed the buttons throughout and wrapped each table in a subform and then removed it etc. to see it that works but to no avail. I keep getting an accessor error in one or more tables though curiously, when I get the error message, the table expands anyway.
The error message reads as follows;
The code looks like this:
form1.#subform[1].Table1[0].Row1.#subform[0].B1::click - (FormCalc, client)
var rowNum = this.parent.parent.index +1;
this.parent.parent.instanceManager.insertInstance(rowNum);
form1.#subform[1].Table1[0].Row1.#subform[0].B2::click - (FormCalc, client)
var rowNum = this.parent.parent.index;
this.parent.parent.instanceManager.removeInstance(rowNum);
Another less critical issue, is that when a table expands onto another page e.g. page 2, it pushes the page two tables to page 3 leaving a mostly blank page 2.
Any insights here would be appreciated.
Regards,
Ben