I have a discussion database based on the discsw7.ntf template. I have added a field in each form called responder, which needs to be cleared in a reponse documents parent, if the current username matches the name in the ‘Responder’ field in the parent document.
The formula in the post save event goes like this:
@If(@GetDocField($Ref; “Responder”) = @UserName;@SetDocField($Ref; “Responder”; “”);@False)
When I respond to my own post, the @SetDocField works fine, and sets the Responder fieled to “”.
If I load someone elses name into the Responder field in a parent document, and get them to create a response to it, the Responder field does not get set to “” when their postsave event is run.
Is this because they are not able to modify a document that they did not create, or am I doing something else wrong?