How to hide certain field in view form by Current User

  1. In view form

  2. 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.

  1. 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.

Result

CPT2310310923-1228x353