0
Auto select field based on user logged in
Hi all.
I have a table for different schools, where it is important that the users making entries can't see eachothers input. We have assigned each school to a filtered view of the list. But when making entries, each user have to manually choose the school they belong to, which are causing some problems.
Is it possible for me to auto-detect which user is logged in, and based on that auto-fill the field "School", so they only get access to their own entries?
I hope you understand what I mean :)
1 reply
-
Yes this is possible.
The functionuser()
returns the user currently logged in.Birger
Content aside
- 5 yrs agoLast active
- 1Replies
- 1130Views