Incident Caller and Priority should be copy and set to short description when form loaded
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2024 01:46 AM
Incident Caller and Priority should be copy and set to short description when form loaded
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2024 11:02 AM
Hi @trtrtrtrtrtrtrt the following code will satisfy your requirement. But what is the use of this?
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('description', g_form.getDisplayBox('caller_id').value + ' ' + g_form.getValue('priority'));
}
Please Mark my answer Helpful/Correct
Regards,
Siddharam
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2024 04:19 PM
Try this code .
function onLoad(){
var callerDetails = g_form.getDisplayBox('caller_id').value;
var PriorityValue = g_form.getValue('priority');
g_form.setValue('short_description' , callerDetails + " , " + PriorityValue);
}