- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Niall,
I've got a similar issue with an Livecycle extended features form which has repeating instances within.
I have followed the below coding to lock individual instances, allowing users to lock information and then at a later date, add more.
{
form1.(name).lockButton::click - (JavaScript, client)
var j = _(name).count;
for (var i=0; i<j; i++){
var currentSubform = xfa.resolveNode("(name)[" + i + "]");
varLOCK.LockAllFields(this.parent, "Lock");
}
That part works fine while the user is in the form, adding and locking to hearts delight.
However when it is saved (using file--> Save As)and then reopened, the locked fields are now unlocked and can be modified. It'd be preferable for locked fields to be remain permanently locked.
About the form: I can't add electronic sig. fields (agency isn't there yet) nor database; this form sits on a shared drive, allowing those with shared drive access the ability to open and add to the form; printing out a hardcopy yearly.
What am I missing to enable to locked fields to remain locked after reopening? My coding skills are low; for the most part I've been following or amending recipes I find.
Many thanks.
Views
Replies
Total Likes