Answered
Acrobat LiveCycle 8, WindowsXP.
I have a straight forward table with a delete button and a few fields on each row. I can easily add and delete rows from the table, but I am really struggling to get at a single field within the table.
Specifically I am trying to set the delete button and the fields of each row to ReadOnly.
I have no problem referencing the 1st row, but I sure can't figure out how to get at the other rows.
I can reference the first row of the table (in an "i" loop) with:
form1.Page1.details.nodes.item(i).txtSecurityNum.access = "readOnly";
After that I'm toast, anyone help me get at the subrows of the table ?
Using JavaScript in a LiveCycle form.
Thanks in advance.
to reference a row you need the instance number of the specific row.
Here an explaination. The instance number is in the [] ans starts with 0, witch means the first instance:
To get access to the specific row you can use a for loop
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs