[html-formfu] constraint in repeatable

Josef Chladek josef.chladek at gmail.com
Sat Dec 19 09:50:05 GMT 2009


Am 19.12.2009 um 09:46 schrieb Carl Franks:

> Hi Josef,
> 
> Which version of HTML-FormFu are you using?
> There was a fix in v0.04000 for constraints in a Repeatable with nested_name.
> 
> This is tested for in:
> t/repeatable/constraints/required.t
> t/repeatable/constraints/required.yml
> 
> (Assuming you're using Catalyst) could you send a dump of
> $c->request->params() and the $form object after process() has run?

hi carl,

my version of formfu is 0.05001 and FormFu::Model::DBIC 0.05002

params

 $VAR1 = {
           'count' => '5',
           'submitted' => 'Submit',
           'user_depots_1.company' => '',  <== should raise error, does not
           'user_depots_1.id' => '1',
           'user_depots_2.company' => '20',
           'user_depots_2.id' => '2',
           'user_depots_3.company' => '1097',
           'user_depots_3.id' => '3',
           'user_depots_4.company' => '4',
           'user_depots_4.id' => '4',
           'user_depots_5.company' => '49',
           'user_depots_5.id' => '5'
         };

Dump of $form much to big, because a lot of dbic models involved, what part would be interesting here?

when I follow the changes described here:
http://lists.scsys.co.uk/pipermail/html-formfu/2009-January/001665.html

I get it working.

thanks
josef


More information about the HTML-FormFu mailing list