Home › Forums › ACF PRO › Clear editor content depending on option › Reply To: Clear editor content depending on option
Thanks James!
I realized that I wasn’t checking the value chosen in the select option at all. I only checked if the fields had content or not, thus when ACF saved both values it was also showing them and breaking the page. I made an assumption that the plugin takes care of that since I set up that conditional logic for the forms but there is no reason for it to do that.
Test and double test before going live, clients are really awful beta testers.
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.