Hint field in change form

Community Alums
Not applicable

Hi All,

We want add one Hint field in the change form. could some one help on this

Regards,

Roopa

1 ACCEPTED SOLUTION

brendanwilson84
Kilo Guru

Hi



I have created a info icon beside the fields looks something like this



find_real_file.png


The following onload client script will do this



function onLoad() {


    //Type appropriate comment here, and begin script below


   


g_form.addDecoration('field_name', 'icon-view', 'Your help text');


View solution in original post

11 REPLIES 11

Inactive_Us1474
Giga Guru

Either you can do it via an annotations OR you can do onLoad client script for displaying a message at the top of the form.


anjalichoudhary
Kilo Guru

Hi Roopa,



Most convenient way for you to achieve this will be via Annotations. For that you can just go to Configure form layout and add annotation field as per your requirement or as suggested by Akhil you can put onLoad client script.



find_real_file.png


Regards,


Anjali


Community Alums
Not applicable

Hi Anjali



Thank u so much for valuable Help..


i wanted it to display based on one condition like below


find_real_file.png


When "Yes" is selected, But i could not find this field name in actions to add it to written UI Policy.



Regards


Roopa


Hi Roopa,



You would not be able to achieve the condition based annotations visibility using UI Policy but yes you can do it through onChange client script.


Please refer below links if it helps you out.



http://community.servicenow.com/thread/144190


http://community.servicenow.com/thread/148053



Regards,


Anjali


snehabinani26
Tera Guru

For this you need to provide hint for the fields.



Right click on the field. Configure Label and provide the help text.



Hope this helps