This module integrates the jQuery UI Multiselect plugin with existing select list field widgets.
The jQuery plugin is demonstrated at http://www.quasipartikel.at/multiselect.
The advantages of this interface over regular selection lists are:
- Separate columns for selected and available items, offering a clear view of which items are selected, unlike regular list boxes where one has to scroll through the whole list to find out what is selected.
- Less risks of mistakenly unselecting everything. Remember ever having mispressed the Ctrl key in a multiselection list, losing a painfully crafted selection? Could not happen with this interface.
- The selection can be manually ordered with drag & drop operations (optional).
- The available options can be searched (live search) (optional).
- The number of selected items is displayed.
- Select All / Deselect All buttons are offered (optional).
How it works
Instead of providing its own Field API widget, this module piggybacks on existing field widgets through form alter hooks. That helps keep the code simple, and free from duplication of existing widget logic.
The following fields are supported when configured for the "Select list" widget:
- Term reference
Suggestions for more fields are welcome!
You might be interested in the following Drupal modules, which provide similar functionality.
- Multiselect: Provides a field widget and another type of UI that has some of the advantages of jQuery UI Multiselect.
- Improved Multi Select: Provides a multiselect UI that you can apply to any select list using jQuery selectors.
- Jquery Multiselect: Currently for Drupal 6 only. Just a wrapper for the jQuery UI Multiselect plugin. Does not do anything by itself.
- Fancy Multiselect: Currently for Drupal 6 only. Relies on the above module to provide a full-blown CCK widget.
This project has been sponsored by: