Theming

Javascript Form Dependencies with the States System for Drupal 6, 7

Last updated March 2, 2020
Categories

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources

Sprout Video

Create dependencies between form elements so that you can show/hide or disable/enable one form setting based upon the form state of another from setting.