XUL Programmer's Reference Manual
|
||||||||||||||
<textfield />
The textfield element provides a text-entry widget very much like the HTML <input type="textfield" /> widget. You can use the value attribute to put text in the field when it's loaded and the multiline to use the textfield as a multi-line textarea. |
||||||||||||||
value | ||||||||||||||
Description
The value attribute specifies the text displayed in the textfield.Syntax <textfield value="string" />Example Notes<textfield value="Enter the recipient's address here" /> None. |
||||||||||||||
multiline | ||||||||||||||
Description
The multiline attribute changes the single-line textfield into a textarea widget.Syntax <textfield multiline="true | false" />Example Notes When the user types in the multiline textfield, the field will scroll horizontally if the entry is longer than the available width. You have to explicitly type a carriage return to enter text on the next line. |
||||||||||||||
Last updated: 3/31/00 Ian Oeschger |