Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax:

 BA_createTextArea(label, defaultValue, isDisabled [, rows])

Since version 2.0.8 and 2.6.1:

BA_createTextArea(label, defaultValue, isDisabled [, rows[, isRequired, fieldDescription]])

...

Excerpt

Creates a textarea suitable for longer text values like comments.

Parameters:

Parameter name

Type

Required

Description

label

string

Yes

Specifies a label for the field

defaultValue

string

Yes

Specifies a default value for the textarea

isDisabledbooleanYesSpecifies whether the input should be read-only or not.
rowsnumberNoThe initial height of the textarea (defaults to 5). Some browsers will allow resizing.
isRequiredbooleanNoSpecifies 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.
fieldDescriptionstringNoA description of the field to be displayed immediately under the input box.

Return type:

string []

Examples:

...