Dynamically Change Catalog Variable Placeholder/Watermark Based on Another Variable Selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Team,
I'm working on a Catalog Item and need to dynamically update the placeholder (watermark) text of a variable based on the selected value of another variable.
Variables
Affected Service / Application
- Backend Name: u_affected_service_application
Report Name or Report Code
- Backend Name: short_description
Requirement
When the user selects:
from u_affected_service_application, I want the watermark/placeholder for short_description to display:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
30m ago
screenshots please
I don't think placeholder text can be dynamically updated via script, unless you use DOM manipulation
DOM manipulation is not good practice
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
28m ago
@Ankur Bawiskar can u please help me with better aproach with working script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
26m ago
screenshots please
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
