Condition on a field

I have a field “INjurpers” in which the name of a person is filled in. This name may only be shown to the person who issued (field = INissuer) the document. When someone else opens the document he 's only allowed to see XXXXXX in the field “INjurpers”.I put below instruction in the field INjurpers:

@If(@Name([CN];@UserName)=INIssuer;INjurPers;“XXXXXXXXXX”)

but nothing happens… Should I put this in an event or at an other place in the document?

Subject: Condition on a field

If the field is read-only ensure that your Computed For Display field (i.e. the one with the formula you stated in your post) is not titled “INjurpers”. If it has the same title as the name of a field stored in the document your formula will not take effect and the value stored in the backend document will always appear.

Brad