[html-formfu] many-to-many with a map table and HTML::FormFu::Model::DBIC

Carl Franks fireartist at gmail.com
Sat Nov 21 08:38:40 GMT 2009


2009/11/20 Justin W <scsys.co.uk at datademons.com>:
>
> I have:
>
> volunteers
>  -> has_many volunteer_job_types
>  -> many_to_many job_types
>
> job_types
>  -> has_many volunteer_job_types
>  -> many_to_many volunteers

It looks like these test files describe what you're trying to achieve:
    t/default_values/many_to_many_select.t
    t/default_values/many_to_many_select.yml
so the functionality is there.

Are you definitely calling $form->model->default_values( $volunteer_row ) ?

Carl



More information about the HTML-FormFu mailing list