Hi All, I have created 4 fields in change request form those are referring to user table For exambl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:35 AM
Hi All, I have created 4 fields in change request form those are referring to user table For examble i have selected change submitter filed level "Able tutor" user name then "Able tutor" name should not be visible change coordinator and change manager it should be visible change approver field please help ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 05:42 AM
Please write onchange client script. On Change field : Change Submitter
var change_submitter = g_form.getValue('change_submitter');
g_form.setValue('compliance_approver',change_submitter);
This will assign the same value in change submitter to compliance approver field.
Mark my answer as correct if I have answered your query
Thanks
Aditi Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 05:48 AM
you can use advanced ref qualifier on the field and restrict the values
something like this in both the fields i.e. Change coordinator and Change manager
javascript:'sys_id!=' + current.u_change_submitter
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader