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.

Catalog client script for catalog item banner

Johnson13
Tera Expert

I need help to modify and add to this script for the banner to display in RED and bold on top of the catalog item form. 

 

function onLoad() {
    g_form.addInfoMessage('**Submission does not guarantee the request will be approved!**', 'danger');
}
1 ACCEPTED SOLUTION

Mohammed Al-Mar
Tera Guru

Hi @Johnson13 you can use html tags, like:

function onLoad() {
    g_form.addErrorMessage('<strong>Submission does not guarantee the request will be approved!</strong>');
}

View solution in original post

5 REPLIES 5

Thanks, it worked but it does not appear as red at service portal