Add field Message under one Varaible Set in Catalog Item

SNOW46
Tera Contributor

Hi All,

I have configured one common Variable Set for most of the Catalog Items.

I want to add one message below the Variable Set for one Catalog Item as below.

I want to add the above message below Justifications/Comment for one specific Catalog Item so that it would not affect Catalog Items.

 

Can anyone let me know how to achieve this?

 

Thanks,

SNOW@DAS

1 ACCEPTED SOLUTION

Here you go, Add this on your catalog item where you need to show this message.

find_real_file.png

View solution in original post

6 REPLIES 6

Omkar Mone
Mega Sage

Hi 

You can configure a catalog client script for this. UI Type=ALL

 

and you can do just this :- 

g_form.showFieldMsg('your_variable_set_name','Message','info');

 

Regards,

Omkar Mone.

www.dxsherpa.com  

Hi 

Check this :-

 

find_real_file.png

 

 

 

find_real_file.png

Alikutty A
Tera Sage

Hello,

On your specific catalog item, you need to create a new onLoad client script and add the following script in it.

g_form.showFieldMsg('variable_name','Enter your justification here','info', false);

https://docs.servicenow.com/bundle/london-application-development/page/script/useful-scripts/reference/r_DisplayFieldMessages.html

Thanks

Hi Alikutty,

Can I have one screenshot like how can I achieve the same.

 

It will be helpful for me.

 

Thanks..