Home › Forums › Bug Reports › Repeater / Radio Button Bug › Reply To: Repeater / Radio Button Bug
This has been brought up in the past, this has always been the way ACF has worked and it is not considered a bug.
When you save a post with fields hidden by conditional logic these fields are not submitted. Since they are not submitted, they are not updated.
The only way to work around this is as you have mentioned. There are coding/filter options for doing this that people have posted on this forum in the past, but it’s been a while and I can’t find them.
Without doing this, when showing values on the front end you need to check the radio button to see what’s selected and then only show the fields that should be shown.
I personally find this feature useful. My clients are constantly changing their mind. If the values were deleted when they change, if they change back they’d need to enter the information again. With it working this way they can switch back and forth all they want and it saves them work.
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN
— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.