Hide When

Hi,

I have 2 fields, Comment & DisplayComment.

I need to Hide the Comment field when the user has “signed” a document, which means, if 1 of 3 fields have been filled in. And then display the DisplayComment field at the same time. And vice verca.

Example of Formula in the Hide when section on the Comment field:

!@Contains (AccFld ; “Laboratory”)|LaboratorySignature!=””|laboratoryapprove!=“”|laboratoryreject!=“”

Example of Formula in the Hide when section on the DisplayComment field:

!@Contains (AccFld ; “Laboratory”)|LaboratorySignature=””|laboratoryapprove=“”|laboratoryrejec=“”

But with these in place, it hides the DisplayComment as it should when a new document is created (with the 3 fields all being empty), but when I fill in one of the 3 fields and display the document, it hides both the Comment field and DisplayComment field.

Any help or suggestions will be appreciated.

Thanks

LS

Subject: Hide When

The displaycomment field will only show when all the fields are filled in (although you also have a typo in the last condition).

I think displaycomments hide when should be:

!@contains(AccFld;“Laboratory”) | (LaboratorySignature=“” & LaboratoryApprove=“” & LaboratoryReject=“”)

You haven’t explained the AccFld part, so if that’s causing a problem you’ll have to explain further.

Dan

Subject: RE: Hide When

Thanks Dan, will give it a try.