This project isn't supported anymore. We won't provide any updates or patches! The successor can be found here: Field Conditional States.
----

With field conditional state module you can set #state form field attribute based on value selected in other form fields. Module splits fields into two types:

  • control field - field which set #state attribute based on the value from that field,
  • controled field - field for which #state attribute is set based on the value from the control field,

For controled field you can set five kinds of states attribute:

  • visible - controlled field is visible when value in control field corresponds to the values selected in the field settings form for that controlled field,
  • invisible - controlled field is invisible when value in control field corresponds to the values selected in the field settings form for that controlled field,
  • enabled - controlled field is enabled when value in control field corresponds to the values selected in the field settings form for that controlled field,
  • disabled - controlled field is disabled when value in control field corresponds to the values selected in the field settings form for that controlled field,
  • required - controlled field is required when value from control field corresponds to the values selected in the field settings form for that controlled field.

Module supports AND/OR functionality for control fields which means:

  • AND - all choices must be selected to control the filed (example: field A will be visible when in field B option 1 and option 2 is selected)
  • OR - any choice will control field (example: field A will be visible when in field B option 1 or option 2 is selected).

Required Drupal 7.14 or higher

Project information

  • caution Unsupported
    Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects
  • caution No further development
    No longer developed by its maintainers.
  • Created by peem83 on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases