On 17/05/07, Carl Franks <[EMAIL PROTECTED]> wrote:
At the moment, it adds constraints to fields which have the same name
as an existing column.
I plan on adding support for a 2nd argument, which would be a hashref
mapping fields to columns (also in other related resultsets).

I've added basic support for fields in other tables, the syntax is...

   $form->constraints_from_dbic(
       [ 'MyApp::Schema', 'Person' ],
       {
           dongle => [ 'MyApp::Schema', 'Dongle' ],
       }
   );

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to