g_form.getControl() is not working in employee center
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 03:20 AM - edited 05-21-2024 04:20 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2025 03:24 AM
Hi have you found the answer to this