How to add a hint to a true/false field?

HaniyaH
Tera Contributor

Hi,

I have a requirement to add a hint to a true/false field type. There are other fields in the system with the hint (little question mark in circle) but they seem to be reference fields.

 

I have checked the configure dictionary of the field and there is no help text field available for the form layout. How do I do this?

 

Thanks

2 ACCEPTED SOLUTIONS

Brian Lancaster
Tera Sage

Check boxes do not have hints. You could use a client script with showFieldMessage to display some text under the checkbox variable.

View solution in original post

Mouli3
Tera Expert

Hi @HaniyaH 

 

Unfortunately, This is not supported for checkbox.

For such requirements, try to write a onLoad scripts with show field message 

 

g_form.showFieldMsg('field_name''This is a sample help text''info');

 
Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@HaniyaH 

I agree with what @Brian Lancaster has mentioned

Try that approach and share the feedback

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

Muhammad Salar
Giga Sage

Can you show by screenshot what exactly you are saying? is it table field or catalog variable?

Are you talking about this?

MuhammadAli1_0-1747755869737.png

 

HaniyaH
Tera Contributor

Hi,

 

I think there is some custom functionality in my instance. For the checkbox field, at the bottom there are form sections like attributes and labels etc. within the label section there was a field called hint and that was empty, by filling that in I was able to get the hint in the checkbox field. But I don’t know if this is available oob or not.

 

I found this by going to sys_dictionary table and filtering by field type=true/false and then checking a few fields on different tables that had hints. Going to their configure dictionary to see how it was being done.