textbox.formwidget
Plain textbox. Bit enhanced. Validates on ENTER,
cancels changes on ESCAPE. Naturally, a multiline
textbox doesn't respond to ENTER.
Somehow, the 'value' attribute of a multiline
textbox doesn't seem to show up in some
browsers. This is also true for non-formwidget-textboxes.
Example:
result:
mytextbox=12456
Additional Attributes:
name
The name of the widget. Used as the name of the variable in CGI
value
The value of the widget. Used as the value of the variable in CGI
-
onvalidate
pseudo event handler. should point to a method to execute
for validation. when validating, the method will receive a bucket
with a single seed in it, reflecting the name, value and label of this
element. the label of a textbox is always empty.
Additional Methods: