Incident Work Notes and Comments Placeholder Text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 09:13 AM
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?
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2019 06:28 AM
Hi Kyle,
If you right click on both fields and go "Configure Dictionary" you then go to the "Default Tab" and set in a default value. In the below, when I create a new record from the Incident Table, the test appears.
If I then submit this record, the "This is a test" is recorded as an additional comment in the activity trail.
If I understand you correctly you want "Internal IT work/technical notes, visible to IT & work notes list members" to appear in work notes and be saved on each record creation. Setting the default value on the field will do that for you.
When a user opens the incident, work_notes will be back to blank. Assume you don't want that placeholder appearing everytime, as that would mean a user having to clear the text before typing. Feels an unnecessary step.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2019 06:32 AM
You could also look into adding annotation onto the field. If you want to kind of outline what work_notes does, annotation might be a cleaner and nicer UI method for it
This link here outlines how you can add annotation into a form through "Form Layout"
Here is one I made in my Dev environment with your phrase, see how it appears above the box in a way where the user is likely going to see it each time, and maybe reduces the step of a user having to clear out the text before typing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2019 09:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2019 10:32 AM
Ah sorry I'm with you now.
The script you in OP was what I believe was the legacy way to manage that in Catalog Items, but Example Text is available now which makes it redundant to script in most cases.
So that grey text you see is being governed by the label. If you right click and select Configure Label, the label field is governing both how it displays in the bold text but also the inner grey.
I've never come across a way to maintain the Field Name and inner grey text independently. If you change the label, it will change both the Grey Inner text but also the field name(well how it displays, the label)
You can also add in a hint here where it will show up text when the label is hovered over.
Sorry I can't help any further, going to subscribe to the thread though, interested to see if you learn how to manage these two pieces independently.