What are the different types of form message you can add on a form in ServiceNow? What do they mean and how to apply them using a client script or business rule.
Here we look at both form and field messages on client and server side scripting.
https://docs.servicenow.com/en-US/bun...
Server side:
gs.addInfoMessage()
gs.addErrorMessage()
Client side:
g_form.addInfoMessage()
g_form.addErrorMessage()
alert()
confirm()
g_form.showFieldMsg()
g_form.hideFieldMsg()
g_form.hideAllFieldMsgs()
Properties to play with:
css.outputmsg.info.text.font-size
css.outputmsg.error.text.font-size