CLASS attribute
The CLASS
attribute defines the behavior of a field defined with the
WIDGET
attribute.
Syntax
Important: This feature is deprecated, and may be removed
in a future version.
CLASS = "identifier"
- 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.Class | Description |
---|---|
KEY |
Field is used to trigger a keystroke
instead of being a normal input field. Only supported with
|
PASSWORD |
Field input is masked by replacing normal character echo with stars. |