Re: [html-formfu] constraint in repeatable

2009-12-19 Thread Josef Chladek
Am 19.12.2009 um 12:37 schrieb Josef Chladek: > btw, I have 5 of those selects in the form, which need all to be present > (which works now) AND should be unique. I can achieve this by making a unique > constraint in the db and catch the error in an eval around > $form->model->update. my probl

Re: [html-formfu] constraint in repeatable

2009-12-19 Thread Josef Chladek
Am 19.12.2009 um 12:13 schrieb Carl Franks: > 2009/12/19 Josef Chladek : >> >> when I follow the changes described here: >> http://lists.scsys.co.uk/pipermail/html-formfu/2009-January/001665.html >> >> I get it working. > > That's refering to $block->repeat() being called, which only happens d

Re: [html-formfu] constraint in repeatable

2009-12-19 Thread Carl Franks
2009/12/19 Josef Chladek : > > when I follow the changes described here: > http://lists.scsys.co.uk/pipermail/html-formfu/2009-January/001665.html > > I get it working. That's refering to $block->repeat() being called, which only happens during $form->model->default_values() ... so the question is

Re: [html-formfu] constraint in repeatable

2009-12-19 Thread Josef Chladek
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 > > (

Re: [html-formfu] constraint in repeatable

2009-12-19 Thread 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->reque