Hi Carl, I found it in http://www.cpan.org/modules/by-module/Catalyst/Catalyst-Model-HTML-FormFu-0.99999.readme
Halfway down the page in the "DYNAMIC VALUES" section. Thanks! -Joe On Fri, Mar 28, 2008 at 8:00 AM, <[EMAIL PROTECTED]> wrote: > Send HTML-FormFu mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of HTML-FormFu digest..." > > > Today's Topics: > > 1. Question on dynamic select (Joe Prosser) > 2. Re: Question on dynamic select (Carl Franks) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 27 Mar 2008 21:36:37 -0400 > From: "Joe Prosser" <[EMAIL PROTECTED]> > Subject: [html-formfu] Question on dynamic select > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Folks, > I'm trying to include a query-driven select field in a Repeatable section > (subset shown below). > > Where does the "select_from_db" subroutine live and how does the query > result need to get "munged" in order to work? > > Thanks, > -Joe > > - type: Repeatable > nested_name: cust_details > increment_field_names: 1 > db: > > elements: > - type: Hidden > name: pkey > > - type: Select > options: __dynamic(select_from_db)__ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20080327/35= > 7b922e/attachment.html<http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20080327/35=7b922e/attachment.html> > > ------------------------------ > > Message: 2 > Date: Fri, 28 Mar 2008 07:29:41 +0000 > From: "Carl Franks" <[EMAIL PROTECTED]> > Subject: Re: [html-formfu] Question on dynamic select > To: "HTML Form Creation, Rendering and Validation Framework" > <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On 28/03/2008, Joe Prosser <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I'm trying to include a query-driven select field in a Repeatable > section > > (subset shown below). > > > > Where does the "select_from_db" subroutine live and how does the query > > result need to get "munged" in order to work? > > > > Thanks, > > -Joe > > > > - type: Repeatable > > nested_name: cust_details > > increment_field_names: 1 > > db: > > > > elements: > > - type: Hidden > > name: pkey > > > > - type: Select > > options: __dynamic(select_from_db)__ > > I'm not sure where you got the __dynamic()__ idea from - neither > formfu or catalyst support any such thing. > If you're using DBIx::Class, see the test files in svn for examples of > how to populate select options from the db using > HTML::FormFu::Model::DBIC. > > http://code.google.com/p/html-formfu/source/browse/trunk/HTML-FormFu-Model-DBIC/t/options_from_model/ > > Carl > > > > ------------------------------ > > _______________________________________________ > HTML-FormFu mailing list > [email protected] > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu > > End of HTML-FormFu Digest, Vol 11, Issue 23 > ******************************************* >
_______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
