how to hide/empty the help text of a field

Bharath kumar6
Tera Expert

I have 1 variable in a variable set.

And this variable set is used in 100 catalog items.

For 1 catalog item, "help text" in a variable(requested for) should not be there.

 

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

Create onload client script on that catalog item add below to remove helptext.

	g_form.hideFieldMsg('variable_name');

Thanks

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

hi Anil,

 

I need to remove "help text" not the field message.

find_real_file.png

Hi,

It is not possible to show/hide Help text based on condition. You can create duplicate variable and show this new variable using client script for specific catalog item. And hide old variable on your catalog item.

please check below links for client script logics:

https://community.servicenow.com/community?id=community_question&sys_id=faa50e99db2f2850fb115583ca96...

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande