How to autopopulate caller field with the current login user details using client script ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 08:22 AM
How to autopopulate caller field with the current login user details using client script ?
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2023 08:28 AM
You can add if condition
isNewRecord on display BR and check the scrachpad value on client side
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2023 07:17 AM
Thanks a lot Sumanth!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2022 06:03 AM
function onLoad() {
var user_ID = g_user.userID;
alert(user_ID);
g_form.setValue('caller_id', user_ID);
}