How to edit grey color text in text boxes?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:07 AM
Hi Team,
We need to update the Grey color text on fields. Please fin the below screenshot for the same.
Please let me know how can we update the text and where it can be customized.
Thanks & Regards,
Prasanna Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:09 AM
See if the below link helps you.
How can the font color/background color be adjusted for read only variable fields?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:15 AM
Hi Prasanna,
With the help of Client script able to change the color of the text.
var myVar = $('sys_display.' + g_form.getControl('cmdb_ci').id);
myVar.setStyle({color: "white"});
Please check these
http://wiki.servicenow.com/index.php?title=Defining_Field_Styles#gsc.tab=0 Change color of field Text

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 01:29 AM
Hi Sneha and Shishir, Thank you for your quick response.
Actually, the requirement is before entering any value into fields, we need to show some text with Grey color. Means any time the text is visible on the field and while entering it'll go.
First time it'll be like this:
Next it'll be like this while entering comments:
Means the grey color will stick to any time, only when before entering any values it will go.
Please provide any helpful solution for the same.
Thanks & Regards,
Prasanna Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 06:55 AM
Hi Sneha and Shishir,
Please see the below URL for place holder updates and customization.
Support for HTML 5 placeholder attribute
Thanks & Regards,
Prasanna Kumar