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.

Comments

matthias_mo’s picture

StatusFileSize
new1015 bytes

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)