My apologies for the delay. Here’s an example script you can use:
[code]name: Hides the Test Inaccurate field on the case form
description: Hides the Test Inaccurate field on the case form
author: Gurock Software
if (uiscripts.context.user.role_id != 1)
You would need to replace ‘#somefield’ with the system name of your custom field (e.g. ‘#custom_testinaccurate’). This script would remove the field for all users on the test case form if they don’t have the Lead role (globally) and you can change this as needed by modifying the following line:
The default role IDs are:
I hope this helps and please let me know in case you have any questions.