File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Specialized Areas/Browser Bookmarklets/Highlight Mandatory fields on form Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ ## Highlight Mandatory Fields
2+
3+ ** Description**
4+ - This bookmarklet visually highlights all mandatory fields on a ServiceNow form by adding a glowing border or background around them.
5+ - It helps developers, admins, or QA testers quickly see which fields are marked as mandatory.
6+ - It also helps partial visually paired people to find the mandatory fields instead of looking for small * icon for field.
7+ - This works as a toggle. One click highlights the mandatory fields and clicking again removes the highlight.
8+
9+ ** Example :**
10+
11+ - When activated on a form (e.g. Incident, Request Item):
12+ - Mandatory fields like Short description, Caller, etc get a soft glowing yellow border.
13+ - Click again → glow is removed.
14+
15+ ** How it works:**
16+ - Detects ` g_form ` context.
17+ - Adds a temporary CSS class (` .mandatory-glow ` ) to all mandatory fields.
18+ - Click again to remove the highlights.
19+
20+
21+
You can’t perform that action at this time.
0 commit comments