Specifying visibility and privilege options for a control
Set visibility and privilege options for controls to determine the conditions in which the control displays.
-
After you add the control to the layout, use the Visibility
option on the General tab of the Properties
panel to determine when the control is displayed.
- Always, If not blank, or Not zero – Display or hide the control based on the visibility of the enclosing section or flow action at the time that this section or flow action is first presented or refreshed.
- Condition (expression) – Make the visibility dependent on an expression. In the field that is displayed, select a condition or click the Open condition builder icon to open the Condition Builder.
- Condition (when rule) – Make the visibility dependent on a when condition rule. Click the Open icon to create a when condition or review an existing one.
- To display a blank area in the section when the control is hidden, select the Reserve space when hidden check box.
-
To specify when the control is not available to end users, set the
Disable option to one of the following settings:
- Never – The control is never disabled.
- Always – The control is always disabled.
- Condition (expression) – The control is disabled under the condition that you specify. In the adjacent field, select a condition or click the Open condition builder icon to open the Condition Builder.
- Condition (when) – The control is disabled under the condition that you specify. In the adjacent field, press the Down Arrow key to select a when condition or click the Open icon to create a when condition.
-
To specify the availability of the control at run time, press the Down Arrow key in the
Privilege field and select the Privilege
Name key part of a privilege rule.
At run time, the system uses the Applies To key part of the current rule as the first key part.
- If you set a privilege, set the When not met option to Hide or Disable to specify whether the control is hidden or disabled at run time when the user does not have the appropriate privileges.