How to autopopulate caller field with the current login user details using client script ?

Sharath Goud2
Kilo Explorer

How to autopopulate caller field with the current login user details using client script ?

7 REPLIES 7

You can add if condition 

isNewRecord on  display BR and check the scrachpad value on client side

Thanks a lot Sumanth!

sandeep goud
Kilo Contributor

function onLoad() {

var user_ID = g_user.userID;
alert(user_ID);

g_form.setValue('caller_id', user_ID);

}