Multiple-select elements are very difficult to use for many reasons. Views2 has some innovative solutions for this, which are similar to those implemented in the Better Select module.
It would be great if someone had time to port either of those implementations to drupal core HEAD / v7-development. This issue is for both usability and forms API.
Comments
Comment #1
alanburke commentedComment #2
jstollerI completely agree that multi-select boxes are awful, from a user experience perspective. The Better Select approach looks interesting. Personally, I was interested in a two box approach. The left box lists all available selections and the right box lists the ones you've selected. The user moves items from the left to the right box either through drag and drop or by pressing an add button.
Comment #3
Josh The Geek commented??? Should be active
Comment #4
Bevan commentedYes. And D8 now.
Comment #5
danillonunes commentedIn D7, Options module for Fields API have a widget "checkboxes/radio buttons" for every field when multi select box applies. Also, in Forms API, the field types "checkboxes" and "radios" exists even in D6. So I don't understand the meaning of this issue.
Comment #6
Bevan commentedIn Drupal 6, the Forms API allows
#type=>selectwith#multiple=>TRUE. This should be strongly discouraged or disabled as it is not usable—and core should not use it.#type=>checkboxesshould be used instead, however#type=>checkboxesdoes not scale well if the list of#optionsis long; so some extra work may be necessary here.We should also encourage major contrib modules to stop using it, especially Views.
I do not know how much of this applies to Drupal 7.
Comment #7
jhedstromThis issue summary needs updating if there is anything left to do here.
Comment #15
amanire commentedThe checkboxes form widget is a decent alternative, but the one tradeoff with it is that it grows too large vertically with more than four or five elements, where multi-select has a limited height. I would think that the simple solution in that case would be to provide an optional max-height on checkboxes.
Comment #23
smustgrave commentedClosing as outdated as an issue summary update was requested 8 years ago and hasn't been a follow up. If still a valid feature request please reopen or open a new issue with an updated issue summary
Thanks!