Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-20 Thread Carl Franks
2008/8/19 Carl Franks <[EMAIL PROTECTED]>: > 2008/8/18 Moritz Onken <[EMAIL PROTECTED]>: >> >> Am 02.08.2008 um 10:14 schrieb Moritz Onken: >> >>> Added a second test (actually renamed the first one to >>> constraint_compoundjoin.t) >>> repeatable_compoundjoin.t tests a join block in a nested repea

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-19 Thread Carl Franks
2008/8/18 Moritz Onken <[EMAIL PROTECTED]>: > > Am 02.08.2008 um 10:14 schrieb Moritz Onken: > >> Added a second test (actually renamed the first one to >> constraint_compoundjoin.t) >> repeatable_compoundjoin.t tests a join block in a nested repeatable block. >> I can't find the right field names.

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-18 Thread Carl Franks
2008/8/18 Moritz Onken <[EMAIL PROTECTED]>: > > Yes I read that reply. But it was referring to the other test where > a compound join block is inside of a repeatable block: > > xt/repeatable_compoundjoin.t Ah, ok - I'll take a look. Cheers, Carl ___ HT

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-18 Thread Moritz Onken
I did reply, but here it is again, in case it didn't get through to the list:. (short answer is: there is a couple of ways to work around it, but it can't be fixed) ... Filters are run before Constraints. So by the time the 'enddate' Required constraint tries to run, the CompoundJoin filter

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-18 Thread Carl Franks
2008/8/18 Moritz Onken <[EMAIL PROTECTED]>: > > Am 02.08.2008 um 10:14 schrieb Moritz Onken: > >> Added a second test (actually renamed the first one to >> constraint_compoundjoin.t) >> repeatable_compoundjoin.t tests a join block in a nested repeatable block. >> I can't find the right field names.

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-18 Thread Moritz Onken
Am 02.08.2008 um 10:14 schrieb Moritz Onken: Added a second test (actually renamed the first one to constraint_compoundjoin.t) repeatable_compoundjoin.t tests a join block in a nested repeatable block. I can't find the right field names. If I render the form the field names are "nested.n

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-05 Thread Carl Franks
2008/8/2 Moritz Onken <[EMAIL PROTECTED]>: > Hi, > > I put a Required constraint on a field which is joined with another field. > ->get_errors tells me that this field is required but it has a value and > the joined field is filled with the joined value. > > Test is in svn xt/repeatable_compoundjoi

Re: [html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-02 Thread Moritz Onken
Added a second test (actually renamed the first one to constraint_compoundjoin.t) repeatable_compoundjoin.t tests a join block in a nested repeatable block. I can't find the right field names. If I render the form the field names are "nested.nested.end_1.enddate_1" which is awkward. I also

[html-formfu] Constraint on a joined field (CompoundJoin)

2008-08-02 Thread Moritz Onken
Hi, I put a Required constraint on a field which is joined with another field. ->get_errors tells me that this field is required but it has a value and the joined field is filled with the joined value. Test is in svn xt/repeatable_compoundjoin.t cheers __