[development] What should we do with checkboxes?
Karoly Negyesi
karoly at negyesi.net
Sun Dec 25 18:30:04 UTC 2005
On Sun, 25 Dec 2005 16:25:09 +0100, Moshe Weitzman <weitzman at tejasa.com>
wrote:
>> b) we change #value instead to be a list of selected values, like in
>> multiselect. The code change in form.inc for this is minimal:
>> if ($form['type'] == 'checkboxes') {
>> $edit = array_keys(array_filter($edit));
>> }
>> I like this one much better. The only problem is that somewhat it
>> differs from what you get from HTML -- but this is the information you
>> actually need.
>
> I like this much better too. Drupal developers hardly remember how HTML
> works anyway :). I would not mind if we did this for 4.7.
Oh I would not mind too. I'd be even happy to provide a patch. But who
will review? :)
Regards
NK
More information about the development
mailing list