[Plugin: Contact Form 7] Automatically highlight text in text boxes when it gets the focus?
-
Hey there,
I want to have it so when a user clicks on or tabs to a text box, the default text in there is automatically highlighted, so it will be easy for them just to type instead of having to erase the default text themselves.
Example: Phone number text field contains “(xxx)xxx-xxxx” by default. When the user wants to enter their phone number, they have to manually highlight the default text or delete it with the keyboard. I would like the text to automatically highlight, so all they have to do is begin typing their phone number.
Is there a way to do this from within Contact Form 7? If not, what Javascript code do I need to type and where do I type it? Please be elaborate, since I know very little about coding!
Much appreciated!
Cheers,
A
- The topic ‘[Plugin: Contact Form 7] Automatically highlight text in text boxes when it gets the focus?’ is closed to new replies.