Support

Account

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.