Visibility of email when additional assignee field is not empty on incident form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:40 AM
How can I made this email button visible only when additional assignee is not empty.
So i have configured the additional assignee should be visible only when state is on hold and on hold reason is not awaiting vendor. so when we fill additional assignee list this email should be visible. How can i get the additional assignee list email or user name on that email template?
Best Regards,
AtchutRam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:57 AM - edited 03-19-2024 12:59 AM
Hi @Atchutaram ,
You can also do this with help of onLoad /onchange client script by writing something as below.
if(!field_name){
$('email_client_open').hide();
}
Please mark it as helpful, if the solution is fine,
Thanks
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 01:03 AM
hi @Arun_Manoj in on change client script. i should write that script right? if yes, should i give in ! field name as !Additional_assignee_list?
Could you explain what is that screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 01:06 AM - edited 03-19-2024 01:08 AM
Hi @Atchutaram ,
please check the field is empty or not, then apply
function onChange(control, oldValue, newValue, isLoading)
{
if (isLoading || newValue === '') {
return;
}
var fieldValue = g_form.getValue('your_field_name');
if (!fieldValue) {
$('email_client_open').hide();
} else {
$('email_client_open').show();
}
}
Please mark it as helpful, if the solution is fine,
Thanks
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 05:15 AM
Hi @Arun_Manoj , i tried this but this is not working. that email, should be visible on when state is on hold and on hold reason is awaiting vendor. In all other states it should not be visible. Can we do this using system property?