This module provides a way to show empty fields that would otherwise be hidden.
It achieves this by appending new settings to existing display formatters. These settings allow you to display a value using either:
- custom text, as defined by the field administrator
- to show the results of a custom callback
- to show the default empty value (if default is not empty itself!)
This last option may be useful in case the field is not required and the instance default value was added after content had been already created.
For example, you could have a list of checkboxes. If none are checked, normally the entire field would be removed from the display. However, with this module you could display something like "Status unknown", "Nothing selected" or "This user failed their IQ test" when the field was empty.
Note that this can be easily achieved in a custom preprocess callback or hook_field_attach_view_alter() if you know some PHP coding. However, our client wanted multiple fields to display something if empty, and they kept changing this text, so we made it configurable!
The 2.x branch of this module defines a plugin system that allows easy creation of custom reactions to empty fields.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content Display, Fields
- Reported installs: 2,761 sites currently report using this module. View usage statistics.
- Downloads: 10,801
- Automated tests: Enabled
- Last modified: 24 October 2015
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.