show Help-text under the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:03 PM
Please help me how can I do it
- Verify that I can see a new help-text under the Additional comments field:
- "Visible to the employee even if it is confidential."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:17 PM
Hi @Ajiteshsharma ,
I think that message which is appearing is coming from onLoad Script whenever the specific form loads. Can u please check on the table where u have opened the record is there any onLoad client script. U should be able to find that message over der. Replace it with what u would like.
Thanks,
Danish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:28 PM
This isn't help test but a client script or UI policy with a script g_form.showFieldMsg('field', 'text you cant to display', 'info'). You can also user error in place of info the only difference is instead of a blue box it will display as red.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 11:47 PM - edited 11-17-2023 11:47 PM
@Ajiteshsharma Here is the code you need to use inside a client script to show message.
g_form.showFieldMsg('comments','Please add a comment here','info');
For more information please refer to https://docs.servicenow.com/bundle/vancouver-application-development/page/script/useful-scripts/refe...