Hi. I'm a newbie to Livecycle Designer and I've taken over a project from someone else no longer with my company. It is an insertion order form built in Lifecycle Designer that locks all fields after submission. I've been tasked to make this form unlockable for further edits. I've tried creating a button in the form that does this:
Submit button code:
myScriptObject.LockAllFields(InsertionOrder);
myScriptObject.UnlockAllFields(ButtonUnlockFields);
Unlock button code:
myScriptObject.UnlockAllFields(ButtonUnlockFields);
It doesn't seem to work. Any help would be much appreciated.