Home › Forums › General Issues › Use conditional logic across another group? › Reply To: Use conditional logic across another group?
I just tried using acf/prepare_field
to alter the conditional_logic
of a field in one group, that’s cloned in another group, but as a replace field, not as group, which means the UI won’t display the Conditional Logic checkbox.
And it works.
The only thing to note is that I had to use key={key of the clone field}_{key of the field in a cloned group}, something like 'acf/prepare_field/key=field_62704081a8489_field_62703f61a8487'
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.