This looks like it might solve my problem!
I’m going to try it out asap, but i have a question to fully understand what is happening here.
Is that the value set in in the Radio button field, or the field type?
I have my radio button field set up like this:
Just trying to wrap my head around what is what here.
As a sidenote, I’m thinking that the group field might be the wrong field type for the result I’m trying to achieve?
The fact that the field values is saved to the db makes for a somewhat strange user experience.
Lets say i need to use this button field for a “banner card” where the site owner can activate the card, enter some info, add an image & activate a button, it’s a bit off that the previous values is shown?
Is there any of the similar fields(repeater, flexible-content) that flush the db values upon deactivation, or some hook that i can link to the card activation true / false field that flush the db values upon deactivation?
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!
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.