Workflow Text field
Print a text that can contain HTML tags.
Attribute | Description | Required |
---|---|---|
label |
The text is shown as a label in the user interface. From version 7.1.41 the label can render HTML. In the case of HTML value the string must be encoded, for example:
must be converted to
You can use an online XML entity encoder like https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii If set the data value from the workflow transition, then must not convert the value. |
true |
name |
Unique field identifier Two fields can't have the same name in the exact task definition. The name must be unique. |
true |
width |
The width of the HTML element. In the case of KCenter, UI must use width values based on %, for example:
|
false |
height |
The height of the HTML element. |
false |
data |
When present, it is an identifier used to load data. |
false |
readonly | The set field cannot be modified in the user interface. By default, the value is "false". |
false |
<?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="text test">
<text label="text label" name="consulting_text" width="200px" />
</workflow-form>
</workflow-forms>