Create a script object at the form level.
Last updated on
Apr 27, 2021
|
Also applies to Adobe Acrobat
This is the code required to create the access property on a number of fields using a Script Object.
Step 1
-
-
Right click the form1 heading.
-
Select Insert Script Object.
-
Right click on the Script Object and rename it to something relevant.
-
-
Add the following code:
function access(x) { x.access= "open|protected|readOnly|nonInteractive"; }
Step 2
Add code to the required fields on the form ready event:
[script object name].access(this);