# TextField losing focus

**URL:** <https://forum.kirupa.com/t/textfield-losing-focus/283987>\
**Category:** flash\
**Created:** [March 13, 2009, 11:30am UTC](https://forum.kirupa.com/t/textfield-losing-focus/283987 "2009-03-13T11:30:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrandao](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Post date:** [March 13, 2009, 11:30am UTC](https://forum.kirupa.com/t/textfield-losing-focus/283987/1 "2009-03-13T11:30:19Z")

</div>

Hi everyone.

I wanted to catch the event of a TextField losing focus so I could set it’s text to the default value in case the user left the TextField blank. Something like TextEvent.FOCUS\_OUT would be great but it doesn’t exist.

Does anyone know a good approach for this situation ?

Have a nice day everyone :bounce:
