Cascading controlling fields workaround?
| Project: | Conditional Fields |
| Version: | 6.x-1.0-beta1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I was planning to use this module to provide me with a series of cascading controlled fields but I see that this feature is on the ‘to do’ list (ReadMe). However...
1) I thought a good work around should be that I could simply wrap my fields in a FIELD GROUP and then control the visibility of this group but when I go to the edit form for the FIELD GROUP, I am not getting a area for adjusting any ‘Conditional fields settings’ ?
2) I then stumbled across a line in the help text that says “Only fields and groups within the same group as this one, and with Allowed values set, are available for control.”
Well, if I read that correctly then it means I can’t control a Field Set (and thus the fields therein) using a normal field anyway because it (the controlling field) isn’t ‘in the same group’.
Can anyone please advise – am I wasting my time trying to ...
a) control field groups
b) use this idea to emulate cascading fields.
Many thanks

#1
The answers to your questions are:
a) Yes. You can control fieldgroups from a controlling field that is outside from any group and has allowed values
b) Sort of. You can have controlling and controlled fields inside the same field group, but not one outside and the other inside, or one in a field group and the other in another field group.
Example:
- Field A- Group B
- Field C
- Field D
- Group E
- Field F
- Field G
We assume that A, C, and F have allowed values and are select lists, radio buttons, or checkboxes. D and G are a text fields with no allowed values.
A can control B, E and G
C can control D
All other combinations are not supported by conditional fields at this time.
#2