Part of the Views ecosystem · 280 projects
This module adds an "On/Off Form" field handler to Drupal Views, allowing users to dynamically show or hide fields through an exposed filter in the view's interface. It also provides a filter plugin for better integration with other modules.
views_fields_onoff provides a field handler to allows users to show or hide fields in a view!
When building a View with fields, you can select Global: On/Off Form, which allows display fields (fields not excluded from the display) to be switched on or off. In the exposed form area of the View display, a list of checkboxes for each selected field will appear. The user can check the fields to show or hide and apply it, then the field will be displayed or not displayed when the View displays! The selection of hidden fields will also exclude the de-selected fields from Views Data Export.
New Drupal 9+ Features
In addition to the field plugin, we now have a filter plugin. This gives users control over where in the exposed filters section the filter should go. It also allows for use with other modules like Better Exposed Filters.
Similar Modules
Ask your assistant about Views Fields On/Off
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first