contents.gifindex.gifprev1.gifnext1.gif

Single-line Entry Fields

To create a single-line entry field, use the following syntax:

<INPUT TYPE="{TEXT|PASSWORD}" NAME="name"

[VALUE="default_text"][SIZE="width,height"] [MAXLENGTH="width"]>

where:

TYPE
selects the type of input field (text box or password box).
NAME
assigns a name to the field.
VALUE
assigns default text that will be entered in the box when the form is displayed.
SIZE
specifies a width and height (in characters) for the box (default is width 20 and height 1).
MAXLENGTH
specifies the maximum number of characters that may be entered.

The main difference between the TEXT and PASSWORD types is that when you use PASSWORD, anything the user types into the field is displayed as asterisks.