Workflow Text field
Print text that can contain HTML tags.
| Attribute | Description | Required |
|---|---|---|
| label | The text is shown as a label in the user interface. Starting with version 7.1.41, the label can render HTML. In the case of an HTML value, the string must be encoded, for example: xml<br><font color="red">red text</font><br>It must be converted to perl<br><font color="red">red text</font><br>You can use an online XML entity encoder like https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii If the data value is set from the workflow transition, then the value must not be converted. |
true |
| name | Unique field identifier Two fields can’t 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: - width=“50%” will work - width=“100px” will be ignored by the KCenter UI. |
false |
| data | When present, it is an identifier used to load data. | false |
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE workflow-form PUBLIC "-//OpenKM//DTD Workflow Form 1.0//EN" "https://www.openkm.com/dtd/workflow-form-1.0.dtd"><workflow-form> <text label="text label" name="consulting_text" width="100px"/></workflow-form>