I've seen websites that have example text inside a field that disappears when you click in the field. For example, a phone number field might have the following example: ###-###-####. Can this be done with PHP or do I have to learn javascript?

Thanks!