# Text field actions

**URL:** https://forum.kirupa.com/t/text-field-actions/191902
**Category:** Uncategorized
**Created:** [June 23, 2006, 7:59pm UTC](https://forum.kirupa.com/t/text-field-actions/191902 "2006-06-23T19:59:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gvbbo](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@gvbbo](https://forum.kirupa.com/u/gvbbo)
#### Post date: [June 23, 2006, 7:59pm UTC](https://forum.kirupa.com/t/text-field-actions/191902/1 "2006-06-23T19:59:48Z")

</div>

hi, i have a INPUT TEXT FIELD inside it describes what user must input there, (e.g. in the text field where user enters name says “\<name\>”, i want that when user clicks the field all the “\<name\>” words get selected so that when user writes the word gets erased, and that if user leaves the field in blank the word “\<name\>” returns, anyone knows how to do it?? tnks…
