Answered
I have a specific scenario where the first instance of my subform will always have '0' as its value. Therefore I would like to hide the first instance only. how can i do this?
note:
The sub form is on a non-fixed page, it can start on any page.
I guessed the following:
if (table_2_carryforward.instanceManager.index == 0){
this.presence = "hidden";
}
it does hide the first instance, but it seems to hide every other instance too. all help appreciated!
[0] means the first instance of a object, [1] the second, [2] the third ... and so on.
table_2_carryforward[0].presence = "hidden";
or
xfa.resolveNode("table_2_carryforward[0]").presence = "hidden
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs