Conditional Fields node form example
Conditional Fields 3 dependencies administration page

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.
You can, for example, define a custom “Article teaser" field that is shown only if a "Has teaser" checkbox is checked.

  • Drupal 7 version (3.x): 7.x-3.x is currently in development. It is a complete rewrite of the module that leverages the new entities system and the States API. Not ready for use on production sites yet. Since 2011-Aug-10, there is an upgrade path from Drupal 6. IMPORTANT: read the documentation before attempting the upgrade!
  • Drupal 6 version (2.x): 6.x-2.0 is fairly stable. Requires CCK.

Installation and Usage

Please read the Conditional Fields documentation.

Notes

  • Supported dependee fields are for now only core fields (D7) or CCK widgets (D6). That is: select, checkbox, radio and text. Other field types might work but are not supported. Follow this issue for ongoing development.

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

Check another module that I have developed: Advanced Text.

Project Information

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.0 tar.gz (21.51 KB) | zip (24.56 KB) 2011-Aug-08 Notes

Development releases

Version Downloads Date Links
7.x-3.x-dev tar.gz (34.04 KB) | zip (38.08 KB) 2011-Sep-13 Notes
6.x-2.x-dev tar.gz (23.97 KB) | zip (26.98 KB) 2012-Feb-03 Notes

Maintainers for Conditional Fields

  • peterpoe - 275 commits
    last: 1 week ago, first: 4 years ago

Issues for Conditional Fields

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 4 Jan 08