Syntax:
BA_createTextArea(label, defaultValue, isDisabled [, rows])
Since version 2.0.8 and 2.6.1:
BA_createTextArea(label, defaultValue, isDisabled [, rows[, isRequired, fieldDescription]])
...
Parameter name | Type | Required | Description | ||
---|---|---|---|---|---|
label | string | Yes | Specifies a label for the field | nmb | number |
defaultValue | string | Yes | Specifies a default value for the textarea | ||
isDisabled | boolean | Yes | Specifies whether the input should be read-only or not. | ||
rows | number | of characters returned from the character expression strNo | The initial height of the textarea. Some browsers will allow resizing. | ||
isRequired | boolean | No | Specifies if the field is should be marked as required with a dark red asterisk. Note that marking the field as required does not add any validation. | ||
fieldDescription | string | No | A description of the field to be displayed immediately under the input box. |
Return type:
string []
Examples:
...
:
Code Block |
---|
wret = chop("Once upon a time", 6);
print(wret);
|
...
BA_createTextArea("text 1", "", false , 5, false, "description 1");
BA_createTextArea("text 2", "mini textarea", false , 2, false, "description 2");
BA_createTextArea("text 3", "maxi textarea", true , 10, false, "description 3");
|