Module Description
Define dependencies between fields based on their states and values.
Conditional Fields for Drupal 7 is an user interface to the new States API, plus the ability to modify fields appearance and behavior on certain conditions when viewing content.
Description
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.
Installation and Usage
Please read the Conditional Fields documentation for Drupal 7, or the Conditional Fields documentation for Drupal 8.
Requirements
Drupal 7 version 7.14 or higher is required.
Notes
* Supported dependee fields are for now only core fields. That is: select, checkbox, radio and text. Other field types might work but are not supported. Follow this issue for ongoing development.
Similar Modules
* Business Rules: There is some overlap with this module, but the architectures and designs are quite different. For more information, see #2913096: Business Rules module's "Dependent fields" feature: overlap discussion.
Contribute
If you wish to support the development of this module, you may donate a sum via PayPal, or contact me (Hi, I'm peterpoe) directly for a paid work (also for web site development in general).
Make a donation
Contact me directly for paid work
Conditional Fields for Drupal 7 is an user interface to the new States API, plus the ability to modify fields appearance and behavior on certain conditions when viewing content.
Description
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.
Installation and Usage
Please read the Conditional Fields documentation for Drupal 7, or the Conditional Fields documentation for Drupal 8.
Requirements
Drupal 7 version 7.14 or higher is required.
Notes
* Supported dependee fields are for now only core fields. That is: select, checkbox, radio and text. Other field types might work but are not supported. Follow this issue for ongoing development.
Similar Modules
* Business Rules: There is some overlap with this module, but the architectures and designs are quite different. For more information, see #2913096: Business Rules module's "Dependent fields" feature: overlap discussion.
Contribute
If you wish to support the development of this module, you may donate a sum via PayPal, or contact me (Hi, I'm peterpoe) directly for a paid work (also for web site development in general).
Make a donation
Contact me directly for paid work
Module Link
Project Usage
69482
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Conditional Fields for Drupal 7 is a module that manages dependencies between fields based on their states and values, allowing for dynamic modification of fields appearance and behavior on certain conditions when viewing content.
Data Name
conditional_fields