
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2020 03:19 PM
Hello,
I am trying to set a tooltip for a Catalog Item Variable in a Variable Set through a client script. I tried to set this using an onload client script with g_form.showFieldMsg but it is not working. I am not sure if showFieldMsg is the correct line.
'Desktop_Computer_Name' is the variable name.
'Test' would be the tooltip.
g_form.showFieldMsg('Desktop_Computer_Name','Test',);
Any help would be appreciated!
Thank you,
Joe
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2020 04:31 PM
Hi Joe,
You can't manipulate the actual tooltip portion of a variable dynamically via a script unless you use DOM manipulation. The showFieldMsg is a close option:
g_form.showFieldMsg('Desktop_Computer_Name','Test','info')
Choose from info, error or warning.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2020 04:31 PM
Hi Joe,
You can't manipulate the actual tooltip portion of a variable dynamically via a script unless you use DOM manipulation. The showFieldMsg is a close option:
g_form.showFieldMsg('Desktop_Computer_Name','Test','info')
Choose from info, error or warning.