Home › Forums › Backend Issues (wp-admin) › ACF javascript always making fields visible? › Reply To: ACF javascript always making fields visible?
ACf has it’s own location rules, for example, post format. You can set the rules for where each field group appears in the location. ACF also has conditional logic that can determine when an individual field appears. These rules can be based on choice fields (select, checkbox, radio) in the same field group. In order to extend this logic you would need to extend the JavaScript in ACF. I don’t think there is any way to include your own external conditional logic, at least not something that could be considered easy and there isn’t much in the way of documentation for extending the JS in ACF. If what you want is not built into ACF then you’ll probably need to re-code all the custom stuff and not just change the IDs of the fields in the existing JS.
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.