Since groups have been added to ACF, layout possibilities are now great! (Thanks again for this feature I asked a while ago!)
However, I found this “sad” behavior:
• Let’s say you have two groups, A and B
• A contains a True/False field
• B contains whatever field, let’s say a text one.
Now you want your text field to show based on the True/False condition.
You’ll get a “No toggle fields available”, as conditional logic seems to only work on siblings fields and does not go through groups.
Would be very nice to add such a feature.
Once again, thanks in advance for your time and support.
I do not think this is possible based on the fact that the group field is treated by ACF as a repeater field with one row. I could be wrong, I’m not the developer. To get his input on this you’d need to submit a support ticket here https://support.advancedcustomfields.com/new-ticket/
However, you can do this if you want to create a load field filter https://www.advancedcustomfields.com/resources/acf-load_field/. You can set the conditional logic of your field in this filter and it can include fields that ACF does not give you options for. In this case, since there will only be one of the fields you want the condition to be then it should work.
For an example of what the conditional logic setting for a feild looks like, create a field with conditional logic and export it to PHP. You can look at the field code and use that as a guide for adding custom conditions.