Changing placeholders or adding any info to variables in portal

Prasun Sarkar7
Tera Expert

Hi all just came across a requirement where a placeholder message had to be added in the text field. First thought is to use the client script use g_form.getControl and control.placeholder. It will work in native UI but in portal side this doesn't work as ServiceNow OOTB gives the option to use this fields where putting appropriate message will display the custom message you want to show in the portal as that is a portal widget. 

PrasunSarkar7_1-1795102392329.png

 

PrasunSarkar7_0-1795102372453.png

I hope it helps for someone who is looking for it

 

 

0 REPLIES 0