Define dependencies between fields based on their states and values.
Branch: 1.x-3.x
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
includes
js
tests
.gitignore
LICENSE.txt
README.md
conditional_fields.api.php
conditional_fields.css
conditional_fields.info
conditional_fields.install
conditional_fields.module

README.md

Conditional Fields

Define dependencies between fields based on their states and values. Conditional Fields is basically an user interface for the States API, plus the ability to hide fields on certain conditions when viewing content.

The Conditional Fields module 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.

Limitations

  • Conditional Fields, for now, supports only core fields and widgets as dependee fields. Fields from other modules might work, but probably won't. Dependent fields, though, can be of any type.

Installation

Configuration and Usage

Users with the "administer dependencies" permission can administer dependencies at admin/structure/dependencies.

More details may be found (or contributed to) in the Wiki

Issues

Bugs and Feature requests should be reported in the Issue Queue

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.