For a custom form I tried to hide the full vertical-tabs container when a checkbox was unchecked. For that I used the #state property as described in the Form-API description. It didn't work because vertical-tabs don't have a wrapper around them to be used by state.js.
The proposed patch introduces a wrapper and adjusts state.js so that the visibility of a vertical-tabs fieldset can be triggered using #state.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

matthias_mo’s picture

Updated patch for Drupal 7.16

jrreid’s picture

Doesn't seem to work for me. This is probably a duplicate issue to http://drupal.org/node/1148950

Wim Leers’s picture

Status: Needs review » Closed (duplicate)