Incindents using templates
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 11:54 AM
Hello, when creating an Incident Template, can you lock down the short description field as to block people from altering any information.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2024 05:53 PM
@paulparment You can create an onChange client script on the short description field and check isTemplate flag inside it. If the isTemplate is true you can set the short description field to read only g_form.setReadOnly('short_description',true);
function onChange(control, oldValue, newValue, isLoading,isTemplate) {
if (isLoading || newValue == '') {
return;
}
if(isTemplate){
g_form.setReadOnly('short_description',true);
}
}
Hope this helps.