Placeholder text in field editor/table

Is it possible to put custom placeholder text in a field editor field or a table? I messed around with CSS but couldn't figure it out.
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
1. Default value for the field in salesforce setup.
2. Add a condition to the model for the field you want - for a new record this will prepopulate the value from the condition.
This text will be a default value, rather than a placeholder, but it may be sufficient.
I'm not really looking for a default value. More of an inline help like the placeholder text on the search boxes on tables. I found some javascript to add that, but would need an id field for the <input> tag and did not see where I could add one. Do you know of any way to add placeholder text?
Thank you very much, this is awesome.
I am looking for a way to tell the user what format we would like the data in.
ex: (xxx-xxx-xxxx) before they type the actual value. Would this code provide what I need.
Could you provide a screen shot of the resulting UI and the javascript properties panel. Thanks
I've had good luck using jQuery extensions for phone number masking. I load that extension as a static resource on the page and use a snippet as a custom renderer on the phone number field.
Snippet: