Module Description
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!

7.x-2.x The 2.x branch of this module defines a plugin system that allows easy creation of custom reactions to empty fields.

Dependencies Field formatter settings

Project Usage
3716
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module provides a way to display custom text or default values for empty fields that would otherwise be hidden on display formatters.
Data Name
empty_fields

OPENAI CHATBOT

OPENAI CHATBOT

12:32:32
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.