Check box
A Check Box distinguishes exactly two states: 'checked' (true) or 'unchecked' (false). The status of a check box can be evaluated by the behaviour 'filled' (against value true).
The default value of a check box is defined by property 'Selected'.
Via the property "Allow empty state", the checkbox can explicitly map the null (empty) state. A deselected box always returns the value false. The user can also create all three states. Such a check box is considered "filled" if its value is either true or false.
For check box elements in forms, two element types with specific appearance are available:
Element type |
true |
false |
Check box |
|
|
Toggle box |
|
|
The option "Label alignment" (Property section: Layout) defines the position of the label. Supported values are "Default" (label on top), "left" (label left) and "right" (label right).
►NOTE◄ In forms for business objects, check boxes can be linked to data of flag attributes (Flag type) or as a logical switch (category "Default components") with no link to object data that can be used to trigger behaviours or as temporary flag. In the latter case, it is important to consider that the state of the check box is reset on 'form data loaded', whereas the state endures the 'context changed' event.