- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Jake,
Here is a sample where the 'Subform2' is repeatable. https://acrobat.com/#d=a9ZE9MPvgEVYjsiIwbU47Q
I have amended it to lock the repeating subform. Basically you need to set up a loop to work trough each repeated instance of the subform and lock each one in turn.
var j = _Subform2.count;
for (var i=0; i<j; i++)
{
var currentSubform = xfa.resolveNode("Subform2[" + i + "]");
myScriptObject.LockAllFields(currentSubform);
}
Stick with it, I think you are on the right track with Pauls' script.
Niall
Views
Replies
0 Likes
Total Likes