Workflow Checkbox field
Checkbox
Best used to represent boolean data:
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 exact task definition. The name must be unique. |
true |
value |
Specifies a default value for this component. The allowed values are true and false. |
false |
width |
The width of the HTML element. In the case of KCenter, UI must use width values based on %, for example:
|
false |
description |
General description. |
false |
readonly | Set field will not be able to be modified in the user interface. By default, the value is "false". |
false |
data |
When present, it is an identifier used to load data. For example, to dynamically load the true or false value of the checkbox. |
|
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="checkbox test">
<checkbox label="Checkbox label" name="checkbox" />
</workflow-form>
</workflow-forms>