Skip to main content

Properties

The Checkbox Widget properties panel contains settings that control the checkbox label, stored value, validation, and behavior.


General

PropertyDescription
LabelThe text displayed next to the checkbox.
NameInternal field name. Used for data binding and referencing the checkbox in logic or scripts.
ValueThe value stored in the form data when the checkbox is checked.
Default ValueSets the initial checked state when the form is loaded.
Label PlacementControls the position of the label relative to the checkbox: End (right), Start (left), Top, or Bottom. Default: End.
RequiredMarks the field as mandatory. Validation fails if the checkbox is unchecked when the form is submitted.
ReadonlyPrevents the user from changing the checkbox state.
VisibleControls whether the checkbox is displayed. When unchecked, the widget is hidden but remains configured.

Appearance

PropertyDescription
Text AlignControls the horizontal alignment of the checkbox and label within its container.
SizeSets the visual size of the checkbox element.

Advanced

PropertyDescription
On Change HandlerWhen enabled, the widget fires an onChange event to the backend each time the checkbox state changes. The event payload contains widgetName, widgetValue (the stored value when checked, or empty when unchecked), and widgetEvent set to "onChange".
Ignore ReadonlyOverrides the Readonly setting. Allows the checkbox to remain interactive even if the form or parent container is set to read-only.