Massimo, Thanks for your reply.
Does it work if you do?
>
> db.nodeRelatedName.relatedID.requires=[IS_IN_DB(db,'node.id','%(id)s',zero=T('select
>
> a
> value')),IS_NOT_IN_DB(db(db.nodeRelatedName.nodeID==request.vars.nodeID),'nodeRelatedName.relatedID',error_message=T('combination
>
> node and related name already in database'))]
>
Yes that does work, however, I thought that when I want to make use of
lazy_tables=True I cannot have validators like the one above.
Kind regards,
Annet
--

