> db.category.parent.requires = IS_EMPTY_OR(IS_IN_DB(db, 'category.category' > )) >
a, the solution is so simple just to add the validator : IS_EMPTY_OR(). web2py is so efficient in developing time. thank you very much 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.