Boolean Checkbox Formatter

Component ID

2403173

Component name

Boolean Checkbox Formatter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2273

Component created

Component changed

Component body

The Boolean Checkbox Formatter module allows for booelan fields to be displayed using an icon. By default, when a boolean value is TRUE, an checked checkbox icon will be displayed, using the image in the images directory of this module. When the value is FALSE, an unchecked icon will be displayed.

For example, let's say you have a Tasks content type that includes a boolean field to indicate if the task is complete or not. The boolean field is configured to display ON or OFF values. You create a view that includes the Complete field and the task item. If you use the default format for the field, you would see something like

no-icon example

Using the checkboxes format you get a nice looking checkbox instead

icon example