Visible When property
Use the Visible When property to specify the conditions under which this component is visible. If you reference variables, other components, or properties on collections on the form, Windows client creates dependencies so that, when those values change, the condition is automatically executed.
To specify the conditions under which the component is visible, click the browse (
) button next to the property.For conditional expressions greater than 50 characters, the system creates a variable to hold the expression. In the Component properties sheet, the variable is displayed instead of the expression; in the Edit Set of Conditional Actions dialog box mentioned below, the conditional expression is displayed.
Syntax
Use the Edit Set of Conditional Actions dialog box (displayed by the ellipsis button) to build the appropriate expression.
Example
In this example, when the Credit Hold field is selected, the Credit Hold Date field becomes visible:
Visible:#C(CreditHoldDateEdit), #C(CreditHoldEdit) = "1","True"