Specifying an Enabling Rule for a Control

You can specify a rule that determines when a control is enabled. For example, you can specify that a radio group is enabled when a target list is populated. The available options for specifying the enabling rule depend on the type of control that defines the rule.

Target List or Field Chooser
You can specify that the current control is enabled when a Target List or Field Chooser is populated with at least one field (Non-empty). You can alternately specify that the current control is enabled when a Target List or Field Chooser is not populated (Empty).
Check Box or Check Box Group
You can specify that the current control is enabled when a Check Box or Check Box Group is checked. You can alternately specify that the current control is enabled when a Check Box or Check Box Group is not checked.
Combo Box or Single-Select List Box
You can specify that the current control is enabled when a particular value is selected in a Combo Box or Single-Select List Box. You can alternately specify that the current control is enabled when a particular value is not selected in a Combo Box or Single-Select List Box.
Multi-Select List Box
You can specify that the current control is enabled when a particular value is among the selected values in a Multi-Select List Box. You can alternately specify that the current control is enabled when a particular value is not among the selected values in a Multi-Select List Box.
Radio Group
You can specify that the current control is enabled when a particular radio button is selected. You can alternately specify that the current control is enabled when a particular radio button is not selected.

Controls for which an enabling rule can be specified have an associated Enabling Rule property.

Note:
  • Enabling rules apply whether the control that defines the rule is enabled or not. For example, consider a rule that specifies that a radio group is enabled when a target list is populated. The radio group is then enabled whenever the target list is populated, regardless of whether the target list is enabled.
  • When a Tab control is disabled, all controls on the tab are disabled regardless of whether any of those controls have an enabling rule that is satisfied.
  • When a Check Box Group is disabled, all controls in the group are disabled regardless of whether the controlling check box is checked.