g_form.getControl() is not working in employee center

vinuthna16
Tera Contributor

Hi Team,

I am trying to change the background colour of a reference field but it is not showing in the form widget employee centre.

 

 

var myVar=$('sys_display.'+g_form.getControl('u_caller').id);
   myVar.style.backgroundColor='red';
 
How can I make it work in employee centre.
Thanks
Vinuthna
1 REPLY 1

AnkurBaruah
Tera Contributor

Hi have you found the answer to this