Table of Contents Previous Section

WOPasswordField

Synopsis

WOPasswordField { value=defaultValue; [name=fieldName;] [disabled =YES|NO;] ... };

Description

A WOPasswordField represents itself as a text field that doesn't echo the characters that a user enters. It corresponds to the HTML element <INPUT TYPE="PASSWORD"...>.

value
During page generation, value sets the default value of the text field. This value is not displayed to the user. During request handling, value holds the value the user entered into the field, or the default value if the user left the field untouched.
name
Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime.
disabled
If disabled evaluates to YES, the element appears in the page but is not active. That is, value does not contain the user's input when the page is submitted.

Examples

Forms and input elements

Table of Contents Next Section