Advertising sustains the DA. Ads are hidden for members. Join today

Contributed modules for Drupal 7

Conditional Fields

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Conditional Fields 7.x-1.x allows you to manage sets of dependencies between fields. When a field is “dependent”, it will only be available for editing and displayed if the state of the “dependee” field matches the right condition. When editing a node (or any other entity type that supports fields, like users and categories), the dependent fields are dynamically modified with the States API.

A simple use case would be defining a custom “Article teaser" field that is shown only if a "Has teaser" checkbox is checked, but much more complex options are available.

Module Page: https://www.drupal.org/project/conditional_fields

Overview and Installation

An overview of the module's purpose, and how to install it.

Usage instructions

How to set up and use the Conditional Fields module.

Guide maintainers

mparker17's picture
zviryatko's picture
itsekhmistro's picture
OlgaRabodzei's picture