jmTextArea
The jmTextArea function is used to create a <textarea> form element in a Jamroom Control Panel form.
form.tpl element name: form_textarea
bool
jmTextArea
(string $text, string $name, [string $value = false], [string $height = false], [string $style = false], [string $help = false], [bool $html = true])
-
string
$text: Title for form field - i.e. the string to the left in the Control Panel
-
string
$name: Form field "name" value
-
string
$value: Value to place in textarea when form loads (i.e. existing value)
-
string
$height: Height of textarea (i.e. '100px', deprecated)
-
string
$style: Additional style (deprecated)
-
string
$help: Help Text for the form field
-
bool
$html: True/False on whether to use the WYSIWYG editor
|