Workflow Input field
In most cases it is used to enter free-form text, although it can be used to save HTTP links, date data, or refer to the application folder (as an internal link to this folder).
| Attribute | Description | Required |
|---|---|---|
| label | The text is shown as a label in the user interface. | true |
| name | Unique field identifier. Two fields can’t have the same name in the same task definition. The name must be unique. |
true |
| type | Value type. Allowed types: - text. - date. - link. - folder. - password. |
true |
| value | Can specify a default value for this component. There’s a particular case for date types. Data is stored in the format “yyyyMMddHHmmss”; take care of it when you’re using the OpenKM API. |
false |
| width | The width of the HTML element. In the case of KCenter, the UI must use width values based on %, for example: - width=“50%” will work - width=“100px” will be ignored in the KCenter UI. |
false |
| description | General description. | false |
| data | When present, it is an identifier used to load data. For example, to dynamically load the Input value. |
|
| readonly | The field cannot be modified in the user interface. By default, the value is “false”. | false |
| timeFormat | When the input type is a date, we can specify whether we want to be able to see and modify hours and minutes. Allowed values: - hm - h - none |
false |
Child elements:
- Validator. For more information, see the Workflow Validator element.
<?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> <input label="Input label" name="input" /></workflow-form>