Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to add message on field in ui policy

ritaaudi
Tera Contributor

Hi: I want a mesage to display on top of a field in a UI Policy. Any thought on how to do that?

Thank you!

1 ACCEPTED SOLUTION

find_real_file.png

to make it red, use 

g_form.showErrorBox("state" , "message info", true); 

 

View solution in original post

11 REPLIES 11

Its only working for catalog items not for other tables like demands and project? Any idea how to fix it?

 

Yup, but you are actually losing the flexibility if you "hardcode" it there, rather than having a script searching for corresponding [sys_ui_message] record