Workflow TextArea field
The TextArea field provides a multi-line text input. When the type attribute is set to html, the field can contain and render HTML content.
| Attribute | Description | Required |
|---|---|---|
| label |
The text shown as a label in the user interface. |
true |
| name |
Unique field identifier Two fields cannot have the same name in the same task definition. The name must be unique. |
true |
|
type |
Type value. Allowed types:
|
|
| value |
The default value for the component. |
false |
| width |
The width of the HTML element. In the case of KCenter, the UI must use width values based on %, for example:
|
false |
| height |
The height of the HTML element. |
false. |
|
description |
General description. |
false |
| data |
When present, an identifier used to dynamically load the value. |
false. |
| visible |
This attribute only makes sense when used in conjunction with an object mapped in the data attribute; the visible value of the object mapped in data is assigned to the form field, causing it to be shown or hidden (the most common use is to hide it). The default value of visible is true. |
false |
| readonly | When true, the field cannot be modified in the user interface. Default is false. |
false |
|
Child elements:
|
||
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.6//EN"
"http://www.openkm.com/dtd/workflow-forms-2.6.dtd">
<workflow-forms>
<workflow-form task="textarea test">
<textarea label="textarea label" name="textarea" width="200px"/>
</workflow-form>
</workflow-forms>