On 24/09/2007, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote: > On 9/24/07, Carl Franks <[EMAIL PROTECTED]> wrote: > > > For a Select with the 'multiple' attribute: > > > http://www.mountaindragon.com/html/optmselected.htm it is valid to set > > > 'selected' on many options. How can I do that in FormFu? > > > > The logic using default() would need to be fixed to accept an arrayref > > of values. > > Patches welcome! > > default() already accepts arrayref - it's a simple accessor. Then the > question is where it is used? I can find it myself - so don't bother > to dig too deep if you don't have an answer top of your head.
I think it'll be in Element/_Field.pm in sub _process_value() Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu