So I have a text input that should be required when two conditions met:
1- That the current user's email is one of the emails in a previously created collection of emails called colteamPT
2- That an input of yes/no was set to false
The first part i made it with this code:
If(
CountIf(colTeamPT; Trim(Lower(Mail)) = Lower(Trim(User().Email))) > 0;
false;
true
)
What I can figure out for the false Datacard part is this?
If(
DataCardValue2.Value = false && CountIf(colTeamPT; Trim(Lower(Mail)) = Lower(Trim(User().Email))) > 0;
false;
true
)
But nope, even if I mark as TRUE the value, it still ends up being a required text 😞