I am trying to disable a button based on one of 2 criteria. I have searched and googled this and for some reason I cant get this figured out and I am sure it something simple.
I need an or statement with these 2 conditions:
If(ThisItem.ID in PPETracker.PPECountID, DisplayMode.Disabled, DisplayMode.Edit)
If(enteredcount.Text="",DisplayMode.Disabled, DisplayMode.Edit)
I got it to work with an and statement (see below)but how do I get it to work as or statement
If(And(
ThisItem.ID in PPETracker.PPECountID,
enteredcount.Text=""
),
DisplayMode.Disabled,DisplayMode.Edit)