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).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | conditional_fields.module.patch | 2.19 KB | MarcElbichon |
Comments
Comment #1
peterpoe commentedIt 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?
Comment #2
Bilmar commentedsubscribing
Comment #3
MarcElbichon commentedSee patch
Comment #4
ionmedia commentedsubscribe, is this patch added to 2x-dev ?
Comment #5
peterpoe commented