Use a script object to set Field access property | LiveCycle Designer

This is the code required to create the access property on a number of fields using a Script Object.

Step 1

  1. Create a script object at the form level.
    1. Right click the form1 heading.
    2. Select Insert Script Object.
    3. Right click on the Script Object and rename it to something relevant.
  2. 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);

Get help faster and easier

New user?