Document Modelling | Version 3

Checkbox

Learn more about the boolean field type "Checkbox".

Archived documentation for Sophora 3. End-of-support date for this version: 7/25/21

Documentation for Sophora 4

Checkbox

The only meaningful way to configure a boolean property is to configure it as a checkbox. If you add true as default value, the checkbox initially will be checked when creating a new document of the corresponding type. Every other input will be evaluated as false. A Validation Expression will be ignored. The default configuration is an empty (unchecked) checkbox.

+++
+++ (Image: subshell/CC BY)

Checkbox (Multi)

This input field type provides you a box with multiple checkboxes. Within the property configuration, you have to set a select value provider that supplies the input field with the available options. Additionally, you can set a maximum to how many items can be selected at once; by default, there is no limitation on that.

+++
+++ (Image: subshell/CC BY)

In the document editor, this configuration will lead to the appearance you can see on the right:

Last modified on 3/9/20

The content of this page is licensed under the CC BY 4.0 License. Code samples are licensed under the MIT License.

Icon