Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

resolveNode of a subform

Avatar

Level 4

hello, I have the problem of resolveNode of a subform to pass to a function

example


function test () {
     for (var i = 0; i <10; i + +) {
     var = oggettoSub xfa.resolveNode ("form1.body.subformA [" + i + "]");


     }
}

this works

now

how can I make become form1.body.subformA parametric?

I tried it with test.prova (form1.body.subformA.somexpression);

change function so

function test (objSubform) {
     for (var i = 0; i <MODULO.PAG.sub_serviziMilitari.sub_congedo.instanceManager.count; i + +) {
          var = oggettoSub xfa.resolveNode ("objSubform [" + i + "]");
     }
}

but does not work

0 Replies