Help with hide/show paragraph formula using a "Or" statement

Hello,

I have fields on a form that only show for the Support Team and if the SignoffType is equal to Testing Signoff. I can successfully get this hide/show formula to work.

Now I want to have these fields to show for the Support Team when the Signoff Type is ‘Testing Signoff’ or ‘Production Signoff’

Here’s the code I’m using to only show these fields for the Testing Signoff.

@If(Team != “Support”; @Success; SignoffType != “Testing Signoff” ; @Success; @Failure(“”))

Please help with the syntax to add in an or statement to look for either SignoffTypes.

Thank you in advance for any advice you may give.

Subject: Re: Help with hide/show paragraph formula using a “Or” statement

I always have trouble with the hide/when but I believe you actually need an AND statement in this case.

@If(Team != “Support”; @Success; SignoffType != “Testing Signoff” & SignoffType != “Production Signoff” ; @Success; @Failure(“”))

Subject: http://www.stevemorgan.co.uk/

Subject: Hide/when

You seem to be complicating things a lot, there’s no need to use @if statements and @success @failure in a hide/when

Another tip is to use a show when and put a not in front of it, quite often easier

So it can be as simple as:

!(Team=“Support” & SignoffType = “Testing Signoff”:“Production Signoff”)

Subject: Thank you

Thanks very much for these responses. I can see now that I have complicated my hide/when forumla. Much appreciated for your help.

Charles.