Hi Rene,
yes, you can call a JavaScript function here. The function should return RecordOk or RecordFiltered.
here's an example from the CIDC training app;
function filterMessages(){
if ( (database.messages.record.fromuserguid == database.friends.record.friendguid) ||
(database.messages.record.touserguid == database.friends.record.friendguid) ){
return recordOk
} else {
return recordFiltered
}
};
Cheers
Bruce