Skip to content

Commit c79a55c

Browse files
Create README.md
1 parent 72c097a commit c79a55c

File tree

1 file changed

+21
-0
lines changed
  • Specialized Areas/Browser Bookmarklets/Highlight Mandatory fields on form

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+

0 commit comments

Comments
 (0)