Title: email field text
Last modified: July 29, 2017

---

# email field text

 *  Resolved [londonnet](https://wordpress.org/support/users/londonnet/)
 * (@londonnet)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/)
 * Hi, I am using the email field only to register users. Although it is good to
   have a label which says “your email address” as I do, but you have to manually
   highlight the text to delete it and then type in your email address.
 * Would it be possible to have all the text cleared as you click on the field or
   have the label out side of the text box you fill?
 * It just feels like another action we are asking users to do when the computer
   can do it automatically.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/#post-9363791)
 * Yes, you should use the placeholder attribute for that sort of thing. Put something
   like this in the “values” parameter of the email field definition:
 * `placeholder::type your email here…`
 * that will set the placeholder attribute on that field.
 * You don’t need to use the “default” value.
 *  Thread Starter [londonnet](https://wordpress.org/support/users/londonnet/)
 * (@londonnet)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/#post-9364014)
 * Many thanks for the support. I have implemented that and it works well.
 * One quick question. Is it possible for the text to disappear the second the field
   is clicked rather than when you start typing?
 * Thanks
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/#post-9364617)
 * This functionality is provided by the browser, if you want it to behave differently,
   you’ll need to use some of your own javascript.
 *  Thread Starter [londonnet](https://wordpress.org/support/users/londonnet/)
 * (@londonnet)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/#post-9364751)
 * Ahh OK got it.
 * Thanks for the support. much appreciated

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘email field text’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [field labels](https://wordpress.org/support/topic-tag/field-labels/)

 * 4 replies
 * 2 participants
 * Last reply from: [londonnet](https://wordpress.org/support/users/londonnet/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/email-field-text/#post-9364751)
 * Status: resolved