Thank you both for your replies. apart from that, IS_IN_DB totally works with zero (unless multiple=True, in > which a zero argument kinda defeats the purpose). Are you sure that you're > not adding other validators to that field ? >
This is the IS_IN_DB validator: db.register.navID.requires=IS_IN_DB(db(db.nav.id.belongs(WHOWEARENAVID,WHATWEDONAVID,HOWWEWORKNAVID,OPENINGHOURSNAVID,\ EVENTLISTNAVID,TIMETABLENAVID,COURSETABLENAVID)),'nav.id','%(name)s', orderby='nav.id', multiple=(1, 5)) which works as expected, accept that I cannot set zero='select 4 functions' Kind regards, Annet -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.