Validating author through formula language

hello, i want to validate author(s) according to ACL through field validation. If they dont have sufficient access then document wont be saved…and if they have access then doc will save with their hierarchical form…

plz give me hints to solve both problems…

Subject: validating author through formula language

I don’t think you will be able to do what you want using Input Validation (only @functions and @command) as it appears the @functions only allow you to check the current users.

I think you’ll have to at least use Lotus Script and therefore it’s probably best to add it to the QuerySave event. That way you can also stop saving.

Subject: validating author through formula language

Why not use author fields or restrict the composing of the form to a group/role so only people who are allowed to do so can compose/edit a document?

There is nothing more annoying for a user than completing a form and then getting a message that he is not allowed to save it…

Subject: validating author through formula language

you can create a Author role in the ACL and Check the field with the following formula : @userrole=current user. I think that works.