Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Include Page
TERMS:Checkbox Field
TERMS:Checkbox Field

...

Icon

Checkbox Off (Disabled)

Image RemovedImage Added

Checkbox On (Enabled)

Image RemovedImage Added

Checkbox read-only display

Image RemovedImage Added

Behavior

Image RemovedImage Added

Examples

"Release Signed" to denote whether a release has been signed or not for the photo in question.

Usage considerations

The search does not search for the label, but only the value which is true/false for a checkbox.

The same applies to filters, where checkbox values are shown as true/false. Here the filter name should mirror the checkbox label to give some indication of what true/false refers to.

An issue of checkboxes is the missing NULL state. When searching for checkbox = false, this will deliver all content items which have the checkbox set to false or have not been set at all. If the checkbox is "legally approved" then false could mean not approved or not yet checked for approval, a combination of checkboxes (checkbox1: legal approval done, checkbox2: legally approved) brings clarity.

Checkbox Value Handling

Picturepark Setup Example

Layer: Corporate Information (ID: CorporateInformation)

Field: Legally approved (FieldId: legallyApproved)

Fieldpath

corporateInformation.legallyApproved

Advanced searches

Filter by label (Content by label)
excerptTypesimple
cqllabel = "advanced-search" and label = "checkbox" and space = "SOL"

Use in Display Pattern

Filter by label (Content by label)
excerptTypesimple
cqllabel = "display-pattern" and label = "checkbox" and space = "SOL"

Returned field value

True / False

Please note Picturepark does not have a NULL state for checkboxes, which would indicate that the checkbox was never updated.
Please consider displaying information based on the checkbox value instead of just showing the value e.g. if true, show "it works".

...