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:
https://media.giphy.com/media/3FhtnpnmOyRF8CnncI/giphy.mp4
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.