Home › Forums › Bug Reports › Conditional Logic is not working when having two clones of the same fields › Reply To: Conditional Logic is not working when having two clones of the same fields
Also ran into this issue. Distilled it down into a simple use case:
Add a field group that’s inactive with:
– a true/false field
– a text field that only shows if the field above is true
Add a field group that has 2 fields:
– “Field A” that is a clone of the group above (clone of all fields)
– “Field B” that is a clone of the group above (clone of all fields)
When you view the field group that contains the 2 clones, the conditional logic is not scoped to each field. Checking 1 box will trigger both text fields to show.
Here’s a short video showing the issue:
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.