The element <enabledState> contains an expression that evaluates state variables to determine if data entry field input is permitted or inhibited (usually the data entry is visible, but dimmed or grayed out).The element <enabledState> is evaluated when data input is entered within the dialog and before the dialog is submitted. Typically, this is used when a user selects a menu choice that requires additional data entry information, while other menu choices do not require the additional data entry.An example is a dialog containing both a menu and a user entry dialog. The menu has two choices: integer (assertion is [datatype = "integer"]) and real (assertion is [datatype = "real"]). The user entry dialog requests a real precision value (enable expression is [datatype equal "real"]). If the integer choice is selected from the menu, the user entry is disabled. If the real choice is selected, the user entry is enabled.