Hide When for edit on a document
Posted on 2007-10-02
I have a project form in a project tracking database. On the form, I want anyone to be able to create a New Project but I only want the Project Manager to be able to edit the document after it is created.
I have created a display field to show the Team Members the project information. I just can not figure out the Hide When on the Input Fields and the Display fields. So far I have:
On the Project Doc field that the PM can edit, I have this Hide When:
!@IsNewDoc | pMember!=@Name([CN];@UserName)
On the Display Field for the Team Members I have
@IsNewDoc | pMember=@Name([CN];@UserName)
This is just not working for me. When I open the document to create a new form, I have to put a PM Name in and then all the fields are hidden, so that is not good.
Any help would be great!!! Thanks