Show Help Text Always on Check Box Field on Platform
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 06:56 AM
Hi All,
I have tried writing in the label of the field but it is not showing up on the portal form but if I am giving help text in the hint box if it is appearing when I hover over the field on form.
So In order to show the help text I have written this in onload client script:
g_form.showFieldMsg('field_name', 'Help Text', 'info');
it is populating the help text on load and even after saving the form,
but the help text is disappearing when the user clicks the checkbox as true.
The help text should be visible all the time regardless of onload of form or form is saved or when the checkbox is clicked.
Can someone please help me in achieving this!!!
Thanks & Regards,
Sunayana.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:23 AM
Hi @Sunayana4 ,
That's the expected behaviour!!
Please refer to the thread :https://www.servicenow.com/community/itsm-forum/how-to-show-help-text-for-a-check-box-variable/td-p/...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:23 AM
Hi @Sunayana4 ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:26 AM
Hi @Sunayana4 ,
Do you need the help text to be visible all the time even when the user don't want to hover over the check box?
If so then you can try to create a new variable with type as rich text label and add your help text their as below:
Please Mark my response Correct/Helpful based on impact.
Thanks,
Ujwala Bedarkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 07:33 AM
Try onChange() client script on your checkbox variable rather than onLoad(). Below script might help you.
function onChange(control, oldValue, newValue, isLoading) {
g_form.showFieldMsg('backend_name_of_checkbox_variable', 'Testing Mesage', 'info', true);
}