Question
JavaScript Exception
Hi there,
I wish to know the extension of the Javasript to make an entire PDF read only Except one button. I currently have the coding that will make the whole document 'read only' however I Wish to have an exception for the 'submit' button.
Please let me know what the code extension to the below is:
for (var i = 0; i < this.numFields; i++) {
var fname = this.getNthFieldName(i);
this.getField(fname).readonly = true; // makes all fields readonly
}
