Workflow Text field
The Text field displays read-only text that can contain HTML tags.
| Attribute | Description | Required |
|---|---|---|
|
label |
The text shown as a label in the user interface. Supports HTML (must be XML-encoded in the form definition). Starting with version 7.1.41, the label can render HTML. When using an HTML value, the string must be XML-encoded; for example:
Must be XML-encoded as:
You can use an online XML entity encoder such as https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii If the data value is set from a workflow transition, the value must not be XML-encoded. |
true |
| name |
Unique field identifier. Two fields cannot have the same name in the same task definition. The name must be unique. |
true |
|
width |
The width of the HTML element. In the case of KCenter, the UI must use width values based on percentages; for example:
|
false |
| data |
When present, an identifier used to dynamically load the text value. |
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="100px"/>
</workflow-form>
</workflow-forms>