- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 10:37 AM
how to Write client script to display false "Awaiting Caller" in on hold reason field from being visible when REQUEST FOR = logged in user.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 11:01 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 10:54 PM
client script:
var loggeduser = g_user.userName; //it is fetching logged in user value correctly
alert(userid);
var requestuser = g_form.getValue('caller_id').name; //it didnt get request for field value, the value coming from reference value.
alert(id);
if(loggeduser == requestuser)
{
g_form.removeOption('hold_reason','1');
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 11:01 PM