Home › Forums › General Issues › Editing a Radio Button Field Resets Choice to First Available › Reply To: Editing a Radio Button Field Resets Choice to First Available
Hi,
There isn’t really any “source” as I made these changes in the ACF GUI.
I was able to get this from the ACF backup I took of the custom field before I made the change:
{
"key": "field_5d1471e8f999d",
"label": "File or Link?",
"name": "file_or_link",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"file": "PDF File",
"internal link": "Button Link Internal",
"external link": "Button Link External"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "",
"layout": "vertical",
"return_format": "value",
"save_other_choice": 0
},
And after I made the change:
{
"key": "field_5d1471e8f999d",
"label": "File or Link?",
"name": "file_or_link",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"file": "PDF File",
"internal link": "Button Link Internal",
"external link": "Button Link External",
"blog link": "Button Blog Post"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "",
"layout": "vertical",
"return_format": "value",
"save_other_choice": 0
},
I would send screen shots but that doesn’t seem possible.
Thanks.
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.