Home › Forums › Backend Issues (wp-admin) › Are conditional field settings possible? › Reply To: Are conditional field settings possible?
Update:
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.
For example:
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 conditions
key.
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.