- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2022 12:09 AM
I want to give the user a hint when entering information in from table's column
like below
please help me thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2022 12:16 AM
Hi,
it's possible for string field
Use onLoad client script
function onLoad(){
var field1 = g_form.getControl('fieldNameHere');
field1.placeholder = "123-45-678";
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2025 05:25 AM
Hi Guys,
i am having this requirement,
where this placeholder functionality is being used on catalog item
this code is written on onLoad Client script
currently we are using g_form.setFieldPlaceholder('watchlist','Test Message');
also, this watchlist variable is of list collector type
but this code is not supported in Virtual agent, are there any other ways how we can achieve this