Skip to content
Snippets Groups Projects
Abhishek Gupta's avatar
Issue #3411928 by rob230: PHP 8.1 issue with preg_match()
Abhishek Gupta authored
e29baa20
History

Conditional Fields

Conditional Fields 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.

For a full description of the module, visit the project page.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Table of contents

  • Requirements
  • Installation
  • Configuration
  • Maintainers

Requirements

This module requires no modules outside of Drupal core.

Installation

Install as you would normally install a contributed Drupal module.For further information, see Installing Drupal Modules.

Configuration

After enable the module, you can create conditional fields on /admin/structure/conditional_fields.

Maintainers