How to Auto. populate selected User Email Address on Request Additional Field?

How to Auto. populate selected User Email Address on Request Additional Field?

Dear All,

We are populating the Employee Display name along with its internal ID on the Request Additional Fields. Once the Employee is selected, how we can also set its Email address on another Request Additonal Field?

We are using below script to populate Employee Display name along with its ID's.



Script used to Populate Users:

var userList = "ServiceReq_Comm_UDF_CHAR1";
$CS.referField(userList, "users", {url: "/api/v3/users",needID: true}); 

Regards,
Wajahath Farooq

                New to ADSelfService Plus?