- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Yes, it is possible. If the number of footer rows will equal to the number of subform instances, you can iterate over an xfa node and find the number of occurences of the class name "subform". For example, the following script will find all the subforms on page 1.
var oNodes = page1.nodes;
var subFormCnt = 0;
for (var i=0; i < oNodes.length; i++) {
if (oNodes.item(i).className == "subform") {
subFormCnt++;
}
}
xfa.host.messageBox("There is " + subFormCnt + " subform(s).");
Views
Replies
0 Likes
Total Likes