Why group cannot be controlled by a field in another group ?
Is there any reason to this ?

This can be done by commenting lines 484 and 489 like this :

//    if (!$in_group) {
      if ($allowed_values[$field['field_name']] = content_allowed_values($field)) {
        $available_fields[$field['field_name']] = $field;
      }
//  }

You need too modify line 491 changing $context to 'group' (Warning on preg_match).

CommentFileSizeAuthor
#3 conditional_fields.module.patch2.19 KBMarcElbichon

Comments

peterpoe’s picture

Version: 6.x-1.0-beta2 » 6.x-2.x-dev

It would be nice, but it needs testing. When I disallowed this in the first place, there was a reason, but now I can't remember why (it might have to do with cases when one of the group is collapsed?).
Could you please update the feature to work with 6.x-2.x-dev and create a patch?

Bilmar’s picture

subscribing

MarcElbichon’s picture

StatusFileSize
new2.19 KB

See patch

ionmedia’s picture

subscribe, is this patch added to 2x-dev ?

peterpoe’s picture

Issue summary: View changes
Status: Active » Closed (outdated)