[web2py] Re: A complex validator problem

2011-04-10 Thread guruyaya
I should have been ready for this one. Guess I'll just have to work with "onvalidation". On Apr 11, 12:18 am, Massimo Di Pierro wrote: > sorry you cannot have a join in a validator. > I think this qualifies as an XY problem. ;-) > > Massimo > > On Apr 9, 10:56 am, guruyaya wrote: > > > > > > >

[web2py] Re: A complex validator problem

2011-04-10 Thread Massimo Di Pierro
sorry you cannot have a join in a validator. I think this qualifies as an XY problem. ;-) Massimo On Apr 9, 10:56 am, guruyaya wrote: > Take this example > db.define_table('table1', Field('title)); > db.define_table('table2',Field('title'),Field('table1_id',db.table1)) > db.define_table('table3'