Checkbox Field Element

A multi-option checkbox form control.

The Checkbox Element displays a group of <input type="checkbox"> HTML elements wrapped in a <label>, use it to allow users choosing, by toggling boxes, a single or multiple pre-established options.

Checkbox Element


Settings

It inherits common settings with the following specifics:

SettingDescription
LayoutThe layout that will be used to display the options, Vertical or Horizontal.
Common Settings
SettingDescriptionDynamic
LabelThe title for the field that represents the field data.
ControlThe name that identifies the field control within the form. It's required and must be unique for the Form Area.
ValueThe efault value for the field. The user can change it.
ReadonlyShould the field be read-only. Any default value will be unedible.
AutofocusShould the field will be autofocused as soon as the page loads. Only one field can be focused on each page.
Sync ID / ControlShould the field ID attribute obtain it value from the Control Name.

Options

Options are specified as child items that can be input manually as well as dynamically with the use of a Dynamic Content source. Each option has the following settings:

Field Options
SettingDescription
ValueThe option value, must be a unique among its siblings.
TextThe option text, defaults to the value if omitted. HTML tags are supported.
StateDefines if the option is Disabled or Enabled. Disabled options are unusable and unclickable.
IdThe option ID attribute, overrides any ID set in the parent element.

Validation

It inherits common validation with the following specifics:

ValidationDescriptionDynamicBrowser SideServer Side
MinThe minimum amount of options that must be chosen, greater than or equal to.
MaxThe maximum amount of options that can be chosen, lower than or equal to.
Common Validation
ValidationDescriptionDynamicBrowser SideServer Side
RequiredDefines if the field must have a value.
Error MessageA message that will be displayed if the element validation fails. Optionally use {fieldlabel} as placeholder, it will be replaced with the field label.

Integration

  1. Access a Builder layout and create a Form Area.
  2. Add a Checkbox Element from the Form Essentials group.
  3. Access the element settings and input a Control Name.
Previous
Radio