- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 07:18 PM - edited 11-10-2024 07:18 PM
Hello everyone,
After my instance was versioned from Vancouver to Xanadu, my error message field display was no longer red but black as shown in the picture.
Does anyone know the reason why and how to fix it? Please help me.
Thank you so much.
Here is my code:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2024 06:11 PM
Hi @Hitoshi Ozawa ,
Thanks for helping me and I apologize for the late response.
ServiceNow responded to me that it was not an issue. I also found a solution which is to create Catalog Client Script and use the code below for handling DOM:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 08:58 PM
Hi @Dinh Nguyen ,
Your Code is correct, no issues.
Maybe you can try below :
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.addInfoMessage("This font should be <font color='red'>red</font>");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 10:10 PM
Hi @Community Alums,
Thank you for recommending me. But I just need a message to display below the field. Do you have any other ideas about the message field error, please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 12:05 AM
The shared options are the ones unfortunately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 01:58 AM
Thanks @Community Alums for helping me.