I think that this would be great as a general form element like #select itself. One could themn use hook_form_alter and change #select t #multiselect when you wanted that UI. A #process on the field element would transform the input data so that any validate and submit handlers would see the data just as if a regular #select had been used.
I would use such a thing in organic groups module for selecting audience.
Basically, this sor tof generalization is going to be needed anyway to port this module to D6 becuase cck widgets are now just regular fapi form elements.
Comments
Comment #1
nath commentedI would love something like this as well.
Comment #2
attheshow commentedDrupal 6 version is more generalized. Probably closer to what you're asking for. The widget can now be used on any text, integer, float, user reference, and/or node reference field.
Comment #4
jp.stacey commentedThis isn't really a solution for all select form elements - as in a form API-level solution - but just most common CCK data types. So it can't really feed into #418104: Use this module with OG and non-CCK form API generally? very much. But I'll continue discussion there now this is closed.