The CreatorCon Call for Content is officially open! Get started here.

How to add help-text to checkbox variable

Service Manager
Kilo Guru

Hi,

I need help to add help text to check box type variable.

Help text contain the url of another catalog item. I tried with onLoad catalog client script but it didn't work as expected.

function onLoad() {
//Type appropriate comment here, and begin script below
g_form.showFieldMsg('varaible_name','text ..............' , 'info');

}

FYI - When I tried this script I got below message.

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

It seems field message doesn't allow url to be shown

can you try to do this using annotations

right click form -> configure form layout

add annotation just below the field you want to show the url; in the annotation add the url you want

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Hi,

It seems field message doesn't allow url to be shown

can you try to do this using annotations

right click form -> configure form layout

add annotation just below the field you want to show the url; in the annotation add the url you want

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Kajal Goti
Mega Guru

Hello,

 

Please refer below link,It will help you,

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0712308

 

 

Please Mark as correct and helpful,If you find any help.

Alp Utku
Mega Sage

You can create new Label field just above or below the checkbox variable and use Annotation tab to add your help text. You can evem customize the text by using HTML / CSS

 

PS : Make sure that your label filed has as same order as your checkbox variable