Incident Work Notes and Comments Placeholder Text

Kyle Laurel
Giga Expert

I've been doing some research on setting the placeholder text in the comments and work notes on the incident table. I've tried the following client script:

function onLoad() {
var eta= g_form.getControl('work_notes');

eta.placeholder = "Internal IT work/technical notes, visible to IT & work notes list members";
}

The only problem is that this only sets the placeholder when the incident record hasn't been submitted. Once it is created the text disappears. I know theres some functionality in the catalog variables to allow for example text, but is this implemented on the field level?

7 REPLIES 7

If you want to include 'Grey text' within any variable in a form, simply use the 'Example Text' field during variable creation.

Example text .png

So the result will be like this 

Result.png

Sanjay Bagri1
Tera Guru
Hi, Please go once below link https://community.servicenow.com/community?id=community_question&sys_id=4b394325db5cdbc01dcaf3231f96190b&view_source=searchResult And if you want to fetch that filed value so you can fetch from sys_journal_field table. And set where you want . And also some business rules or script include are written in this sys_journal_field table . So please check that . Please mark as correct and also helpful . Thanks Sanjay Bagri Dxsherpa.com

Rushikesh Surya
Tera Contributor

Hi Kyle,
Did u get the solution for this?
Actually, I am working on the same problem so if u have a solution for this then kindly share it with me, it will be helpful for me.
Thanks in advance!!