> > Field('f_keypersons', type='list:reference t_contacts', requires= > IS_IN_DB(db, 't_contacts.id', '%(f_name)s'),
For list:reference fields, it should be IS_IN_DB(..., multiple=True). Actually, you shouldn't need to set the "requires" attribute explicitly anyway because you will get IS_IN_DB(..., multiple=True) as the default validator for a list:reference field. Anthony -- --- 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.