g_form.showErrorBox and showFieldMsg do not work at Service Portal
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2018 11:36 AM
Hi all
the onLoad Client Script with g_form.showErrorBox or g_form.showFieldMsg do not work in Service Portal.
function onLoad() {
var msg = 'check at lease one checkbox';
if(g_form.getValue("add_user", false)){
g_form.showErrorBox('right', msg);
}
}
This script work on CMS but not on Service Portal
Please Help!!!
Thank you
Labels:
15 REPLIES 15

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2020 01:11 AM
Perfect.. did the trick for me, thanks 🙂