- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I dont know what I was thinking. After some rest, and a second look, I can see this what the code is doing.
I am trying to provide a button that will lock elements on individual pages that are part of multiple instances. Note, each instance will contain said button.
Example: TRANSMITTAL[3].lockButton should only lock items on that instance of TRANSMITTAL[3].
The two attempts had different results
form1.TRANSMITTAL.lockButton::click - (JavaScript, client)
var j = _TRANSMITTAL.count;
for (var i=0; i<j; i++){
var currentSubform = xfa.resolveNode("TRANSMITTAL[" + i + "]");
varLOCK.LockAllFields(currentSubform, "Lock");
}
..resulted in Locking ALL instances.
form1.TRANSMITTAL.lockButton::click - (JavaScript, client)
varLOCK.LockAllFields(form1.TRANSMITTAL);
..resulted in nothing.
Any suggestions?
Views
Replies
Total Likes