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

bernyalvarado
Mega Sage

Hi Jesus, you can accomplish that using the property title




Title.jpg



Thanks,


Berny


bernyalvarado
Mega Sage

The code should me something like:



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




Thanks,


Berny


Thanks Berny, that was a simple and quick solution.


Thanks for sharing your solution.   How would I get this to work on the service portal? as we cant use gel.



Thanks,



Lucy