- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Nik,
If using JavaScript you will need a loop to go through all of the instances, changing the presence of the objects in each instance in turn. There is an example of looping though repeating objects using both xfa.resolveNode() and xfa.resolveNodes(). http://assure.ly/kUP02y.
If using FormCalc, then you could use the wildcard to access all instances:
subfrm1[*].Text1.presence = "hidden"
subfrm1[*].Text2.presence = "hidden"
The wildcard doesn't work in JavaScript, because the compiler interprets [] as an array.
Hope that helps,
Niall
Views
Replies
0 Likes
Total Likes