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

Nana5
Mega Guru

Hi you can use htm field for this.



Thanks


Community Alums
Not applicable

Thanks for reply Ranjan,



We want some   thing like below..



find_real_file.png



Regards,


Roopa


Hi Roopa,


By using htyml field u can do it as below.


Or if you want to do somthing like u posted for that u have to write client script to keep populated as below:





find_real_file.png


onload client script:


function onLoad() {


    //Type appropriate comment here, and begin script below



  var helpTextMot = g_form.getControl('u_approval_motivation');


  toggleHelp(helpTextMot.id);


 


  var helpText = g_form.getControl('u_country_list');


  toggleHelp(helpText.id);




     


}


Thanks


P Ranjan


snehabinani26
Tera Guru

Hi Roopa,



Use annotations. Visit this and you can achieve the same



Annotating Forms - ServiceNow Wiki



Mark my reply as Correct and also hit Like and Helpful if you find my response worthy.



Regards,


Sneha Binani