Hello Power Users,
I'm building a power apps with couple of combo boxes that appear based on a selection from drop down. The drop down values are approve and Reject. I have items on Combobox1 items in format [" ","One","Two"]. I have items on Combobox2 items in format [" ","Three","Four"]. I want the submit button to be enabled only if the Combobox1 has selection values other than " " when approve is selected and same for Combobox2 has any selection values other than " ", when reject if selected .
I did the formulae with some || conditions like if
If((Combobox1.visible && Combobox1.Selected.Value = " ") || (Combobox2.visible && Combobox2.Selected.Value = " "),DisplayMode.Disabled,DisplayMode.Edit)
I had the if condition written correct not sure if I'm missing anything with || and && conditions.
Can anyone please help or suggest.
Thanks in advance!