Rajesh_Bhise
Tera Guru

Hello @vinod6,

 

Instead Glide Ajax and script include(BIG code), you can explicitly use client script(little code) to achieve this.

Write OnChang Client script on requested for variable.

function onChange(control, oldValue, newValue, isLoading) {
   if (isLoading || newValue == '') {
      return;
   }
 
var userid = g_form.getRefRecord('requested_for', userRef);
  function userRef(userid){
    g_form.setValue('manager', userid.manager.toString());
            g_form.setValue('country', userid.location.country.toString());
  }
}

 

 

 

Hope this finds your easy solution.

Please appreciate the efforts of community contributors by marking appropriate response as correct answer✔️ and helpful👍, this may help other community users to follow correct solution in future.

Happy to help you in future😎.

 

Thank you,
Rajesh