Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Checklist Field Formatter

A field formatter for list (list_text, list_integer, list_float) field types. Without this module, only selected list items are displayed as the field value. This formatter will display all the available values for a list field, and has two methods to indicate which of the available values are selected for the current entity.

The first method is a 'checked' class added to all selected list items.

The second method is a user-configurable string that is added before the list item, displaying results like:

___ Option 1
_x_ Option 2
___ Option 3

There is an additional option if no list items are selected, to either show all non-selected items or to hide the field completely (Drupal default).

Some basic CSS is included with the module, but should be easily overridden. Feature requests welcome!

Project Information