How to Set Placeholder for Change Request using Client Scripts
function onLoad() {//Type appropriate comment here, and begin script belowvar 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 my video/content helped you in any way, please mark this video/content as BOOKMARK, SUBSCRIBE & HELPFUL
Best Regards,
Prashant Kumar (LearnIT)
YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant
Blog LearnIT: https://medium.com/@LearnITbyPrashant
Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/
ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635
https://www.servicenow.com/community/developer-blog/how-to-set-placeholder-for-change-request-using-client-scripts/ba-p/2429644