Module Description
Instructions
* Add the desired dependent fields on your entity type, for example Music genre > song titles
* 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.
* Edit the children field settings and select the "Make field dependent using views" option on the Reference type.
* Select the new view and parent field (in our example music genre). And optionally configure arguments.
* ๐Ÿ’ƒDance ๐Ÿ’ƒ

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: Allow site administrators to define conditionally actions execution based on events. It includes a way to do dependent fields.
* Dependant reference method: Has the same spirit as this module but has been untouched for a while and doesn't have a D9 version.

Project Usage
488
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of creating dependent fields based on entity references in Drupal 8/9 websites.
Data Name
dependent_fields

OPENAI CHATBOT

OPENAI CHATBOT

12:26:29
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.