- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 06:12 AM - edited ‎10-25-2023 06:13 AM
Hi All,
I wanted to highlight the field(for example: Number) using a specific color. For that, I used the g_form.getControl.style in client script to achieve the result. i can see the field highlighted in the backend, but not in workspace. I wanted the fields to be highlighted in workspace as well. Is there any way to do it??
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 06:16 AM
@Madhav Rao D V g_form.getControl is not supported in workspace. Same is mentioned in this support article as well https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0855260
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 01:44 PM
Bro if the g_form.getcontrol() is not working on the workspace then how can you solved your issue please reply i am facing the same issue now