2009/1/27 Ascii King <t...@swattermatter.com>: > What a wonderfully useful tip. Thank you. I didn't understand why I was told > to put my Model in the stash as it seemed to make no difference. Now I do. > This is much easier than the long, coded way. However, how can I specify > which column I want to use in the table? My lookup table contains a few > different columns and the Select element is populated using data from the > wrong column. Is there some way to specify which one I want?
Yes, you can set the column used for both the 'value' and the 'label' of the options. It's documented here: http://search.cpan.org/~cfranks/HTML-FormFu-Model-DBIC-0.03007/lib/HTML/FormFu/Model/DBIC.pm#options_from_model Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu