Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

dynamic_reference_selection

188 sites No security coverage
View on drupal.org

Dynamic filtering for Entity Reference fields based on parent field values, with AJAX support. Lightweight and focused: ideal for projects that need dynamic reference filtering without the complexity of full rules engines.

Description

Dynamic Reference Selection allows you to create dependent Entity Reference fields using Views as the data source. The options in a child reference field are dynamically filtered based on the selection of a parent field, enabling use cases such as Genre > Song or Country > City selection patterns.

This module is a clean, modern fork of the Business Rules Entity Reference Selection plugin, offering the same dependent filtering functionality without the overhead of the full Business Rules module—which is no longer maintained. It also provides a more robust and flexible alternative to Dependent Field and Dependant Reference Method, which are not actively maintained and do not support Drupal 11.

How It Works

  • Configure a parent and child Entity Reference field (e.g., Genre and Song).
  • Create a View for the child entity (e.g., songs) with a contextual filter (e.g., genre ID or UUID).
  • In the child field settings, select "Dynamic Reference Selection" as the reference method.
  • Choose the View and map the parent field as the argument.
  • AJAX is used to refresh the child options when the parent selection changes.

Both parent and child fields must use the “Select list” widget in the form display for the dynamic filtering to work properly.

Credits

Inspired by and initially based on the Business Rules module’s reference plugin. Extended and maintained to support modern Drupal projects.

Similar modules

Activity

Total releases
4
First release
Jul 2025
Latest release
4 months ago
Release cadence
44 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Nov 20, 2025
1.0.2 Stable Sep 2, 2025
1.0.1 Stable Jul 15, 2025
1.0.0 Stable Jul 11, 2025