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
‎06-15-2017 02:23 AM
Hi Prasanna,
This is cause that "comment" is a placeholder you can also provide style to placeholder.
Please provide your feedback appropriately (Like, Helpful, Endorse AND/OR Correct) to help community.
Thank you!
Regards,
Jyoti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 01:53 AM
Great news, I've heard that HTML Placeholder will be supported natively in Jakarta!
I've written a blog article on the subject: Great UX Trick: HTML Placeholders

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2017 11:01 PM
you can also try with the Placeholder by creating a UI script and calling it from client script :
UI SCRIPT:
function u_addPlaceholderAttribute(variableName, hint) {
try{
var fieldName = g_form.getControl(variableName).name.toString();
if (Prototype.Browser.IE) {
fieldName.placeholder = hint;
} else {
$(fieldName).writeAttribute('hint', hint);
}
} catch(err) {}
}
Calling UI SCript from CLient Script:
u_addPlaceholderAttribute("Your Variable name here", "hint that needs to be populated");