How to show the help text in Refence field?

thirumala2
Tera Guru

Hi ,

 

I need some help in placing this help text "Enter the name " - within the field in a reference field to User table .

 

Pasted image (5).png

 

once we select any values it gets removed .

 

4 REPLIES 4

Sagar Pagar
Tera Patron

Hi @thirumala2,

 

Enter the tool tip or add annotation for variables.

Screenshot 2023-08-23 at 10.52.55 PM.png

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

hi @Sagar Pagar ,

Thanks for the response.

Its not working and annotation section is not showing here .

 

annotation2.PNG

annotation3.PNG

 

Pavankumar_1
Mega Patron

Hi @thirumala2 ,

That is the place holder text. For single line text and multiline text you can give on Example Text.

But reference we don't have option try below onload catalog client script 

var val=g_form.getControl('requested_for'); //add variable name
val.placeholder="Select user Here";

 

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

hi @Pavankumar_1  ,

Already tried this script not working .