Valid_If ??? Before a user can fill in a for...

Valid_If ???

Before a user can fill in a form, I want to check that the user is part of the team. Example: My form has EmployeeID a required field. I have a separate table for employeeโ€™s. Can I use valid_if to check that the employeeID is in the employeeโ€™s list?

If not, the user will not be able to proceed filling out the form.

Will it work this way? If so what would the formula look like - if not how would I go about doing this check please? Thanks JIM

0 4 315
4 REPLIES 4

@Jim_Davidson you can check it of course

IN([EMAIL], EMPLOYEE[USEREMAIL])

expression will work for thatโ€ฆ

Thank you - however as soon as I try and use this formula it created a dropdown list that I donโ€™t want. =IN([Employee], Drivers[Employee])

Easiest way is to write the expression directly into table access.

If heโ€™s not part of that group, you can give only read_only access.

Did you want the person to type in the id and then verify it?

In most cases, the goal of valid_if is not for authorization/security but for data validity. So it tries to help the user submit a valid entry.

Aleksiโ€™s suggestion is best if your goal is to control access

Top Labels in this Space