In my gallery I want the DisplayMode property of my AddIcon to be disabled when required fields are blank so another row in the gallery cannot be added.
I have tried the following formula but the icon does not become disabled.
If(
IsBlank(InputServiceProductDescription)
And IsBlank(InputPartNumber)
And IsBlank(InputQty)
And IsBlank(InputPrice)
And IsBlank(CurrencyDropdown),
DisplayMode.Disabled,
DisplayMode.Edit
)
Not sure where I am going wrong.