Hi Cliff, No that doesn't work. On 19/03/2009 Denes provided me with this solution:
Or better yet, store the validator object in a variable and use that: isnotindb=IS_NOT_IN_DB(...) db.company.CoC_number. requires=isnotindb and in the action: isnotindb.set_self_id(company[0].id) then it does not matter if the field uses more validators, since you could for example do: db.company.CoC_number.requires=[IS_NOT_EMPTY(),isnotindb] and the statement with set_self_id would still work. For some reason this no longer works, so I am looking for a similar solution. Kind regards, Annet. --

