How do I refer to all instances of a repeating subform? I am trying to protect a section of my form with a click of a button. The section can be repeated. It will protect the first instance, or I can specify an instance (, for example), but I don't know how to say "ALL" instances. I made a really simple example.
xfa.resolveNode("Page1.row").txtFirstName.access = "protected";
var rows = xfa.resolveNodes("Page1.row[*]");
for (var i = 0; i < rows.length; i++)
var r = rows.item(i);
r.txtFirstName.access = "protected";
Note the resolveNode has to be resolveNodes ... plural