[html-formfu] $_->render_data->{value} returns only the first value for a many_to_many relationship

Moritz Onken onken at houseofdesign.de
Mon Mar 24 12:25:24 GMT 2008


forgot to tell that $_ is the Select formfu element.


Am 24.03.2008 um 13:22 schrieb Moritz Onken:
> Hi,
>
> I'm using $_->render_data->{value} to get a value of a field which  
> got the data via $form->defaults_from_model.
> If I try $_->render_data->{value} on a many_to_many relationship I  
> only get the first value but not all of them. The element type is  
> Select with multiple set to 1.
> How can I get all (deflated) values?
>
> moritz
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.rawmode.org
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu




More information about the HTML-FormFu mailing list