Home › Forums › Backend Issues (wp-admin) › Are conditional field settings possible? › Reply To: Are conditional field settings possible?
So my example above works great and it’s nice moving forward to know that conditions key is there when you need it.
However, I’ve ran into an issue during testing where when I have a field with these settings, and I duplicate that field, it still works great, BUT… When I duplicate the field, and then duplicate the newly duplicated field, the newest field I duplicated doesn’t fire the show/hide from the conditionals.
Field 1 (saved in db) -> duplicated to Field 2 (not saved yet) [Field 2 conditionals work]
Then: Field 2 (still unsaved) -> duplicated to Field 3 (also not saved yet) [Field 3 conditional don’t remove hidden attributes from the hidden fields when toggled to]
I’ll post a solution if I find or create one. I may move a different direction on this project though. But just be aware if your using the
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.