In view form
Set Visible for the field you want to hide.
EG: I want to hide the Reason field if the current user is the same as the Staff name of this record which means the Staff themselves cannot view the reason.
- Visible #Form#StaffID#Email != #CurrentUser
Staff ID - user type link to Staff module which contain email
CurrentUser - the logged in person’s username which is email as well.