active

Specifies whether an item is active or inactive. Inactive items do not respond to user input and, if possible, appear dimmed. For example, an inactive check box will be dimmed and the user will not be able to select or deselect the box.

Syntax

   <active>status</active>
Table 1. active properties
Parameter Type Description
status on item is active
  off item is inactive

Available in

action, button, cell, check, checkgroup, field, help, label, list, popup, radio, radiogroup, richtext, slider

Example

This sample specifies the item is active.

   <active>on</active>

Usage details

  1. Default:
    • XFDL: on.
    • XForms: Defaults to the relevant property for the data element to which the containing item is bound.
  2. Setting active to off is similar to setting the readonly option to on.