Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Dynamic Reference Selection

No security coverage Under active development 102 sites

This module dynamically filters the options available in an entity reference field based on the value selected in a parent field, using AJAX. This allows for creating dependent selection lists, like choosing a city after selecting a country.

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

Drupal 10–11

Ask your assistant about Dynamic Reference Selection

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
4
Tracked since
Jul 2025
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

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