25 Dec
2005
25 Dec
'05
7:30 p.m.
On Sun, 25 Dec 2005 16:25:09 +0100, Moshe Weitzman <weitzman@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