I’ve added some text inside textarea fields to explain to my client what to say in the field. However, when a user clicks into that field, before they can type, they have to highlight and delete the default text.
I feel like I’ve seen ways around this, so that once you click in, the text that was in the field goes away, but can’t seem to find answer in this support forum. I tried to add this code “<input onfocus=”this.select()” type=”text” value=”some text” />” But, there is no success.
I also would like to keep the default text color lighter (grey) instead of black.
Thanks in advance for any help.
- The topic ‘[Plugin: Fast Secure Contact Form] How to clear textarea default text value on click?’ is closed to new replies.