# Input text field problems

**URL:** <https://forum.kirupa.com/t/input-text-field-problems/302553>\
**Category:** flash\
**Created:** [January 3, 2010, 8:34am UTC](https://forum.kirupa.com/t/input-text-field-problems/302553 "2010-01-03T08:34:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SolBrad](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@SolBrad](https://forum.kirupa.com/u/SolBrad)\
**Post date:** [January 3, 2010, 8:34am UTC](https://forum.kirupa.com/t/input-text-field-problems/302553/1 "2010-01-03T08:34:55Z")

</div>

Hi everyone

I seem to be having a very strange problem with an input textfield.

If i have an original message in the input text field, eg Enter your name.  
Then i add a focus event to the textfield to check when the user selects the textfield. Once they do i want to clear the original message, so that the textfield is blank for when they start typing, but for some reason once i do that i can no longer type in the textbox.

The code is from a custom text class i created, but a much simpler version.  
I have attached the fla.

Any help would be greatly appreciated.  
thanks
