help text in field for form

brendanwilson84
Kilo Guru

Hi Guys

I was wondering if it is possible to have   help text in a field within a form/table.

find_real_file.png

Thanks in advance

8 REPLIES 8

Chuck Tomasi
Tera Patron

Hi Brendan,



Check out using annotations. They're a great way to get novices the information they need, while experts can hide them.



Annotating Forms - ServiceNow Wiki


Abhinay Erra
Giga Sage

You could show a field message by using g_form.showFieldMsg()


g_form.showFieldMsg('field_name','Meassge you want to display','info');


Gurpreet07
Mega Sage

Hi Brendan,


You could use an onload client script to set value in this field.


Setting default value will also work.


hmartind
Kilo Expert

Hello,



You can define a hint for the label: Field Label Help - ServiceNow Wiki



Or you can have a default text in that field. But I would do the hint in the label.



Hope it helps!


Cheers,


Hector.