I have a button i wish to disable under these conditions but i am not sure how to enter this
If CB_AE_Yes.Value = true and Blank(AddMediaButton4.Media) , Set button as edit
OR
CB_AE_No.Value = true, set button as edit
otherwise disabled
I have done this
If(CB_AE_Yes.Value = true && IsBlank(AddMediaButton4.Media) , If(CB_AE_No.Value = true, DisplayMode.Edit, DisplayMode.Disabled))
And it works for the first part but is ignoring the CB_AE_No section, and is not disabling the button if none of the