Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Changing Priority Field Hint On Mouse Over?

jesusemelendezm
Mega Guru

Hi Colleagues,

I am creating a client script on change to change dynamically the hint OOB on the Priority label based on the priority field value. For example, if I change Priority value to P1. The hint on the priority label should change to "Incident Priority 1".

The field priority is read-only, I can't add a hint to it and I don't like look and feel of bottom field info messages.

Any hints is much appreciated.

Thanks,

Jesus

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

The code should me something like:



gel('incident.priority').title = 'Here goes your tooltip';




Thanks,


Berny


View solution in original post

5 REPLIES 5

Gurpreet07
Mega Sage

As you mentioned in subject , if you are looking for a way to implement onmouse over listener in Snow ,have a look at OOTB Client Script 'Sample: Setting an onBlur Handler' .You need to change control.onblur to controll.onmouseover in there .