Avatar

Level 4

Hi DCS_JeffW,

I guess, you need to follow these steps:

1) You need to find the number of repeating rows first. Assuming that "people.person" is the repeating instance:

               

                var countOfPPInstances = xfa.resolveNode("....people.person").instanceManager.count;

2) Modify your code as follws:

                if (xfa.host.name != "XFAPresentationAgent" && this.resolveNode("populated").rawValue != "x")

                {

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

                                {                              

                                 xfa.resolveNode(“..people.person[“+i+”].name").access=”open”;

                                                  xfa.resolveNode(“..people.person[“+i+”].relationship").access=”open”;     

                                                  xfa.resolveNode(“..people.person[“+i+”].age").access=”open”;

                                }              

                }

Let me know if this works. Alternatively, you can mail me your form @ kvdvijaykumar@gmail.com