Hi,
I tried to use this as the Valid IF for my useremail field in my User table.
not(in(USEREMAIL(), select(Users[User_Login_Email], [UserID] <> [_thisrow].[UserID])))
And this as my invalid error message
ifs(in(USEREMAIL(), select(Users[User_Login_Email], [UserID] <> [_thisrow].[UserID])),
concatenate(
"(",
[User_Login_Email],
") is already in the system"
)
)
I thought this would work but it throws up the error for all new submissions even though they are not on the list.
Can someone please help?
Solved! Go to Solution.
If you are on the new desktop UX mode (bunch of bugs still), then the workaround is
ifs(in(USEREMAIL(), select(Users[User_Login_Email], [UserID] <> [_thisrow].[UserID])-list([_thisrow])),
concatenate(
"(",
[User_Login_Email],
") is already in the system"
)
)
but not funcy enough.
Thanks for the response @Koichi_Tsuji , your suggestion worked.
Funny enough, I was just in the appsheet editor and testing, but it hasn't worked for sometime...
User | Count |
---|---|
17 | |
12 | |
9 | |
4 | |
4 |