Provided by: kaya_0.4.4-6ubuntu3_amd64
NAME
HTMLDocument::addLabelledTextarea - Adds a labelled textarea
SYNOPSIS
ElementTree addLabelledTextarea( ElementTree parent, String name, String labeltext, String initialtext=createString(0), Int rows=5, Int cols=40 )
ARGUMENTS
parent The parent element name 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 label initialtext 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 5 cols 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.
DESCRIPTION
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.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
RELATED
HTMLDocument.addFieldset (3kaya) HTMLDocument.addLabelledSelect (3kaya) HTMLDocument.addLabelledInput (3kaya) HTMLDocument.addOption (3kaya) HTMLDocument.addTextarea (3kaya)