Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Dependent Fields

Security covered Under active development 1,366 sites

This module allows you to create dependent fields where the available options in one field (like song titles) are filtered based on the selection in another field (like music genre). It works by configuring specific view settings for your entity types.

Instructions

  1. Add the desired dependent fields on your entity type, for example Music genre > song titles
  2. Create a new Entity Reference Source view, the entity type displayed needs to be the children (song titles). Build the view so it accepts the parent argument entity id or uuid and displays the expected results on the view preview.
  3. Edit the children field settings and select the "Make field dependent using views" option on the Reference type.
  4. Select the new view and parent field (in our example music genre). And optionally configure arguments.
  5. πŸ’ƒDance πŸ’ƒ

External documentation

Please note that both widgets (parent and children) need to have the form display configured as "Select list" for this module to work.

Credits and thanks

The Drupal 8/9 version of this module is heavily based on the business rules module and it can be considered a lightweight option for those cases where only the dependent fields feature is wanted.
The Drupal 6 version of this module was created by Radiant Flow and sponsored by Spirit Library

Similar Modules

  • Business rules (deprecated): Allow site administrators to define conditionally actions execution based on events. It includes a way to do dependent fields.
  • Dependant reference method (unmaintained): Has the same spirit as this module but has been untouched for a while and doesn't have a D9 version.
Drupal 8–11

Ask your assistant about Dependent Fields

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.

Activity

Tracked releases
10
Tracked since
May 2023
Latest release
3 months ago
Releases (12 mo)
6 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.11 Stable 8–11 Jul 14, 2026
1.0.10 Stable 8–11 Jul 7, 2026
1.0.9 Stable 8–11 Mar 23, 2026
1.0.8 Stable 8–11 Mar 10, 2026
1.0.7 Stable 8–11 Mar 3, 2026
1.0.6 Stable 8–11 Feb 11, 2026
1.0.5 Stable 8–11 Aug 5, 2025
1.0.4 Stable 8–10 Jun 5, 2023
1.0.3 Stable 8–10 May 15, 2023
1.0.2 Stable 8–9 May 15, 2023