Support

Account

Home Forums Feature Requests Allow the selection of multiple buttons in the new button group Reply To: Allow the selection of multiple buttons in the new button group

  • Option buttons only allow for one option chosen (when they all share the same name), but I’m sure you know that 🙂

    I managed to use checkboxes as a group in a quick test that I just did.

    I only did it within Chrome Dev tools, but it proved to be pretty easy if you have some CSS and JavaScript skills.

    I don’t know if it’s planned to create a Checkbox group, but if it’s important to you right away, you can apply the same Class as the button group, to a group of checkboxes. Then you can use JavaScript to add the “selected” class to the Label when clicked (and remove it when clicked again). Plus you need to remove some right margin between the boxes… then it suddenly looks exactly the same, and allows for multi-select.

    I haven’t the time right now, else I would have done it for you. Seems like a fun quick project. I will pass on the suggestion to make it part of ACF.