- Type: one of the values below
- You can set the type attribute to one of the values below for a more specialized type of textbox. Don't set the type if you wish to use a regular textbox.
- A textbox that supports autocomplete. For more information about autocomplete textboxes, see the autocomplete documentation (XPFE [Thunderbird/SeaMonkey]) (Firefox)
- A textbox that only allows the user to enter numbers. In addition, arrow buttons appear next to the textbox to let the user step through values. There are several attributes that allow the number textbox to be configured, including
- A textbox that hides what is typed, used for entering passwords.
- A textbox intended for searching. The command event will fire as the user modifies the value. A listener for the command event should update search results. If the
searchbuttonattribute is set to
true, the command event is only fired if the user presses the search button or presses the
Enterkey. You may specify grey text to appear when the search box is empty using the
emptytextattribute, and a timeout may be set for the command event using the
timeoutattribute (defaults to 500).
- This textbox will fire a command event after the user types characters and a certain time has passed. The delay is set with the
timeoutattribute. The command event will fire if the user presses the
timedtype is deprecated in Gecko 1.9.1 and the
searchtextbox may be used instead.