ValidatingTextField

An improved TextField that can perform simple validations. The field may be required, and a minimum length may be specified.

Parameters

text

The text inside the text field.

hidden

If true, then the text field is written as a <input type=password> form element.

displayName

A name for the the component, used when formulating error messages.

delegate

An IValidationDelegate used to handle validation exceptions.

minimumLength

The minimum number of characters allowed.

required

If true, a value must be entered.

disabled

Controls whether the text field is active or not. Netscape Navigator 4 ignores the disabled attribute.

displayWidth

Controls the display width of the text control in the client browser.

maximumLength

Controls the maximum number of characters that the text control will accept.