The CreatorCon Call for Content is officially open! Get started here.

how to change the hint on inherited field in service now?

pritam38
Kilo Contributor

Hi All,

Please help me to change the hint (tool tip text) on the inherited field. Just take an example of   the "priority" field of "task" is having some hint which I need to change on "problem" form.

I think we can't use dictionary override in this case because hint is on field label form and not on system dictionary form.

Thanks...

1 ACCEPTED SOLUTION

sach1
Tera Guru

Hi Pritam,




Try this if you want to change the title only for certain forms.



function onLoad() {


   


    document.getElementById("label.problem.priority").title ="test";




}



This is an OnLoad Client Script on Problem form, which changes title of priorty field only on the problem form.


I have set it to test,you can enter whatever you want.



Regards,


Sachin


View solution in original post

7 REPLIES 7

sach1
Tera Guru

Hi Pritam,




Try this if you want to change the title only for certain forms.



function onLoad() {


   


    document.getElementById("label.problem.priority").title ="test";




}



This is an OnLoad Client Script on Problem form, which changes title of priorty field only on the problem form.


I have set it to test,you can enter whatever you want.



Regards,


Sachin


pritam38
Kilo Contributor

Thanks Sachin...


Welcome.



You can use 'document.getElementById' in lot of places. There is good example of dot walking on wiki which uses it.



Good Luck.


can you please explain the part label.problem.priority in brackets of getelementbyId()