Dynamically Manage If a Control Is Displayed
You can use the value referred to by a data ref to manage whether the control is displayed to or hidden from Data Providers. The control is displayed only if a comparison between the value associated with a field and a specified value is evaluated as true.
Note: By default, a control with no dynamic properties is enabled and visible and is a tab stop.
- From the View tab, click Dynamic Properties. The Dynamic Properties box opens.
- Click
to open the Dynamic Properties dialog box.
- For Property, select Visible.
- For Data Ref, select the field to use to manage whether the control is displayed.
- For Operator, select how the value associated with the field should be compared to a specified value.
- If the Value property is displayed, enter the literal value to which the value associated with the field should be compared.
- Click OK.
Tip: The Value property must not include a data ref or the name of a data map entry. If you want to use a variable to manage whether the control is displayed, you can accomplish this by using a business rule that includes a conditional business rule component. Configure the output of the business rule to be a value in the data map A repository for the data for use when responding to a print request. Each data map entry is composed of a name (key) and a value., and then use that value to manage whether the control is displayed.