Need to add help text in variable

Moutushi Ghosh
Tera Contributor

Hi Team,

 

I have a variable set "Requested details" which we are using in all catalog item. I need to add help text in one of the variable using client script "requested for" which is under this variable set. Please help me with the client script so that the help text will only be visible for that particular catalog item.

2 REPLIES 2

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Help text cannot be add/remove dynamically so you have to settle with functions like showFieldMsg , you can easily control the behavior through client script, check below thread once.

https://www.servicenow.com/community/it-service-management-forum/show-variable-help-text-based-on-th...

Please hit like and mark my response as correct if that helps
Regards,
Musab

OlaN
Giga Sage
Giga Sage

Hi,

Had a look around, and it seems this is only doable by manipulating the DOM, which is to be avoided.

A workaround would be to set a field message on the variable instead of manipulating the help text.