- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Well,
you can use the preSave event, but you need to lock all fields.
Here's a script that will look for all fields and lock them.
function lockFields(vNode) {
if (vNode.className === "field") {
vNode.access = "protected";
}
for (var i = 0; i < vNode.nodes.length; i += 1) {
lockFields(vNode.nodes.item(i));
}
}
lockFields(xfa.form);
Views
Replies
0 Likes
Total Likes