That should work, but as it’s not it’s probably something to do with your data and field types in your database.

What type of field is ‘Student’ on your user datatype?

Also, it’s appearing in quotations, which doesn’t seem right (unless the value in the database itself is also in quotations).

And as @cmarchan mentioned above, using an option set for user types is probably the best way to do it.

1 Like