Home › Forums › Backend Issues (wp-admin) › Many custom fields in a post : optimize performance › Reply To: Many custom fields in a post : optimize performance
Yes, you could create your own custom JavaScript that is triggered when the field is set to false and add a CSS class to the field containers to hide them. Just don’t use “hidden-by-condtional-logic”…. I think that’s the class that ACF uses. Fields hidden by CSS will still be submitted and work as expected unless they have the class that ACF uses to hide them.
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.