Avatar

Level 3

Well I've sorted it!

I thought I was being careful/clever/something by sending through the form to the checkForm function but I didn't need to!

Instead I'm referencing xfa.form directly in my function & can now reference each instance of my repeatable subform like so:

var

mtAPMVehAreas = xfa.resolveNodes("xfa.form.subform1.subform2.subform3.subform4.subform5[*]");

var numMTInsts = mtAPMVehAreas.length;

for (var i=0; i<numMTInsts; i++)

{

     var mtAPMVehArea = mtAPMVehAreas.item(i);

Probably obvious to some but I'm on a (very steep) learning curve with LiveCycle!