- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
It should work for anything like that, you'd have to find out the different class names.
Here's Radzmar's lock fields script:
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);
Here's a link that covers using class names (I haven't done a lot with them myself):