Hi @Lefty ,
Could you describe more clearly about when will the button be visible?
Firstly, let me explain the value of drop down and Toggle.
Actually, the value of Toggle will never be empty. It could only be true or false.
The value of drop down will always be one item of its Items. If there's no empty item in its Items, it will never be empty value.
To distinguish whether you've made selection in the control, I suggest you use combo box.
Combo box could be empty value, even its Items have no empty value.
I assume that you want:
1)the button is visible:
VarUser = "MYEMAIL" || VarUser = DataCardValue90_1.Selected.Email;
DataCardValue162.Selected.Value = "Complete" || DataCardValue162.Selected.Value = "Complete - Requires Approval"
2)the button is invisible:
VarUser = Reviewer1
If so, please set the button's Visible like this:
If(
VarUser = "MYEMAIL" || VarUser = DataCardValue90_1.Selected.Email||
DataCardValue162.Selected.Value = "Complete" || DataCardValue162.Selected.Value = "Complete - Requires Approval",
true,
VarUser = Reviewer1,
false
)
If you change DataCardValue162 to combo box, you need to SelectedItems, like this:
If(
VarUser = "MYEMAIL" || VarUser = DataCardValue90_1.Selected.Email||
"Complete" in DataCardValue162.SelectedItems.Value || "Complete - Requires Approval" in DataCardValue162.SelectedItems.Value,
true,
VarUser = Reviewer1,
false
)
If you still have problem, please describe more clearly about when the button will be visible, when the button will be invisible.
Actually, I could not fully understand. What's more, if you want to get current user's Email, you need to use User().Email, not "MYEMAIL".
Best regards,