Multi-line Input Field - Text Area

The list of attributes required for a multi-line input field type are given below:  

Attribute NameDatatype Description
type*StringThe type of input field. For multi line text input, type must be textarea.
placeholder*String (150)Sample field value displayed to the user that describes the expected value of the input field.
name*String (50)A unique identifier for the field. Upon form submission, value defined for this key will be available in the function associated with the form.
label*String (150)Describes the display name for this field.
hintString (100)Provides a brief description of the fields purpose and the expected input.
max_lengthIntegerSpecifies the maximum number of characters allowed as input.
min_lengthInteger

Specifies the minimum number of characters allowed as input.

valueString(2048)Provide a default input value for the field.  
mandatoryBooleanDefines if the field's requisite is mandatory or not. 
Note: Default value is considered to be false.
disabledBooleanIf disabled is true, then the field will not be editable

Sample Code:

Copied{
   "type":"textarea",
   "name":"note",
   "label":"Symptoms",
   "placeholder":"Describe the symptoms...",
   "hint":"Tell us your problems",
   "value":"Headache, eye redness...",
   "mandatory":false,
   "max_length":100,
   "min_length":10,
   "disabled" : false
}

JSON format passed in handlers for the filled-in value:

Copied{
   "meta":{
      "type":"textarea",
      "value":"Headache, eye redness..."
   },
   "value":"Headache, eye redness..."
}