Hi All, I have created 4 fields in change request form those are referring to user  table For exambl

Aruna10
Tera Expert

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 ?

Aruna10_0-1693301435841.png

 

2 REPLIES 2

Aditi23
Tera Contributor

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

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Aruna10 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader