jquery - Hide CCK field group based on taxonomy term in Drupal6? -
i have generic content type ("property") has bunch of content sorted via taxonomy. how can hide or display cck fields (or better yet, groups of cck fields) based on taxonomy term selected? should via jquery? views?
alternately -- if have taxonomy term-specific cck fields structured in collapsed fieldset groups, how can uncollapse fieldset when relevant taxonomy term selected? (i'm guessing candidate quick jquery code)
thanks!
i figured out. need 2 modules:
- conditional fields -- http://drupal.org/project/conditional_fields
- content taxonomy -- http://drupal.org/project/content_taxonomy
in short, add content taxonomy field content type, can use conditional fields conditionally display things. works well, actually.
Comments
Post a Comment