Home › Forums › Bug Reports › Cannot create unchecked radio buttons › Reply To: Cannot create unchecked radio buttons
Hi guys.
I’ve just had a thought.
If I were to leave the default behavior as is and add in a new setting called ‘Allow Null’, this would do a few goods for the plugin:
1. Avoid issues with existing radio fields (a developer may have written code expecting the radio field to always contain a value)
2. Provides an opportunity to add in some JS that would allow the user to deselect a radio field option. Therefore ‘Allowing Null’ which makes sense.
3. Obviously allow new posts to load with no radio field selected solving the original issue.
Thoughts?
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.