CLASS attribute

The CLASS attribute defines the behavior of a field defined with the WIDGET attribute.

Syntax

Important:

This feature is deprecated, its use is discouraged although not prohibited.

CLASS = "identifier"
  1. identifier is a predefined keyword defining the class of the field.

Usage

The CLASS attribute can only be used with the WIDGET attribute. It is ignored if WIDGET is not used.

Note: The CLASS attribute is deprecated, use new form item types instead.
Table 1. Supported field classes
Class Description
KEY Field is used to trigger a keystroke instead of being a normal input field.

Only supported with WIDGET="BMP"|"CHECK"|"RADIO"

PASSWORD Field input is masked by replacing normal character echo with stars.