Home › Forums › Feature Requests › Conditions across Field Groups › Reply To: Conditions across Field Groups
Conditions for entire field group display or conditional logic for field display?
Conditional logic for field display based on a field in another field group can be accomplished by using an acf/prepare_field filter and modifying $field['conditional_logic']
. This is an array with field keys, operators and values. You can see an example or how to set up this array by creating a field that is similar to what you want and then exporting it to PHP.
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.