Skip to content

Workflow Checkbox field

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 cannot have the same name within the same 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, 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
readonly The field will not be editable in the user interface. By default, the value is “false”. false
data When present, it is an identifier used to load data.
For example, this can be used to dynamically load the true or false value of the checkbox.

Child elements:

<?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>
<checkbox label="Checkbox label" name="checkbox" />
</workflow-form>