Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 09:40 PM
There is one client script for this,
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue != '') {
var ci = g_form.getReference('cmdb_ci', callback);
function callback(ci) {
var impact_inc = g_form.getValue('impact');
var impact_ci = ci.u_impact;
if (impact_ci == '') {
impact_ci = 3;
}
if (impact_ci == impact_inc) {
g_form.showFieldMsg('impact', 'Note change in Impact value due to CI selection');
}
}
}
}