ElementTree addLabelledTextarea(ElementTree parent, String name, String labeltext, String initialtext=createString(0), Int rows=5, Int cols=40)
Arguments
parent: The parent elementname: The name of the textarea. Remember that names starting with "kaya_" may be used by the Kaya standard library and should not be used directly by applications.labeltext: The text of the labelinitialtext: The initial contents of the textarea, if any. Thisparameter is optional, with the empty string as a default.rows: The number of rows the fieldset has. This parameter may be omitted for a default of 5cols: The number of columns the fieldset has. This parameter may be omitted for a default of 40. Note that there is no browser-independent relationship between the number of columns in a text area, and the size of a normal text input, so getting them to be consistently the same width is not possible.
Usage
Adds a labelled textarea to a form. Since the labelled textarea is enclosed within a division, the parent element may be the form itself. Text areas are useful for entering large amounts of user input, or where the user input needs to contain new lines. The textarea and its label will be separated by a line break.