Set Placeholder for Change Request | Client Scripts | ServiceNow

Опубликовано: 28 Февраль 2026
на канале: LearnIT
619
15

For More Information, please check details below:

In this session, I have explained how we can add Placeholder for certain fields in Change Requests using Client Scripts.

==========================CLIENT SCRIPTS============================

Table - Change Request
Type - OnLoad
Scripts -

function onLoad() {
//Type appropriate comment here, and begin script below
var short_desc = g_form.getControl('short_description');
var desc = g_form.getControl('description');

short_desc.placeholder = 'Please provide short details about this change.';
desc.placeholder = 'Please provide details in brief, what exactly this change is about.';
}

If you have any feedback related to the scripting part, please write it in the comment box.

My Playlists for Quick Access for Various Learning Paths:

ServiceNow Interview Questions -    • Playlist  

ServiceNow Scenario Based Solutions -    • ServiceNow Scenario Based Solutions  

ServiceNow Scripting -    • ServiceNow Scripting  

ServiceNow Advanced Concepts -    • ServiceNow Advanced Concepts  

ServiceNow Concepts -    • ServiceNow Concepts  

ServiceNow Tips & Tricks -    • Playlist  

ServiceNow San Diego Release -    • ServiceNow San Diego Release  

ServiceNow Basics & Overview -    • ServiceNow Basics & Overview  

ServiceNow App Engine Studio -    • ServiceNow App Engine Studio  

ServiceNow Shorts -    • ServiceNow Shorts  

#servicenow #learnit #learnitbyprashant

Thanks for Visiting my Channel . Here I will be sharing all kinds of technical Knowledge. Anyone can connect with me directly for anything as part of ServiceNow Related Query.

Keep Supporting me so that I can continue to provide you good content each time!!😇🙏

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Thank you for Watching My Videos!!!
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬