@PolicyIsFieldLocked (Formula Language)

Indicates whether a field is locked by an administration policy and cannot be modified.

Note: This @function is new with Release 7.


@PolicyIsFieldLocked( fieldName )



Text or text list. The name(s) of the field(s) being queried.

Return value



  • Returns 1 (True) if the field is locked. For a list, all the fields must be locked.
  • Returns 0 (False) if the field, or any field in a list, is not locked.


This function is intended for use in hide-when and Input Enabled formulas.

This function does not work in view column, view selection, or view action formulas.

A policy lock is indicated by the presence in the document of a computed field whose name is or begins with "$DPLocked" and whose value is the name of the locked field.

A document may contain any number of locked fields.


This field hide-when formula hides the field if it is locked by an administration policy.