DesignDynamically Manage If a Control Is Enabled

You can use the value referred to by a data ref to manage whether the control is enabled for Data Providers to use. The control is enabled only if a comparison between the value associated with a field and a specified value is evaluated as true. Otherwise, the control is displayed in a disabled state—"grayed out" and not available for use.

Note: By default, a control with no dynamic properties is enabled and visible and is a tab stop.

  1. From the View tab, click Dynamic Properties. The Dynamic Properties box opens.
  2. Click Add to open the Dynamic Properties dialog box.
  3. For Property, select Enabled.
  4. For Data Ref, select the field to use to manage whether the control is enabled.
  5. For Operator, select how the value associated with the field should be compared to a specified value.
  6. If the Value property is displayed, enter the literal value to which the value associated with the field should be compared.
  7. 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 enabled, 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 mapClosed 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 enabled.