# Text Area with onFocusLost method triggered by buttonclick

**URL:** <https://forum.servoy.com/t/text-area-with-onfocuslost-method-triggered-by-buttonclick/2224>\
**Category:** Classic Servoy\
**Created:** [July 12, 2004, 7:55pm UTC](https://forum.servoy.com/t/text-area-with-onfocuslost-method-triggered-by-buttonclick/2224 "2004-07-12T19:55:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [July 12, 2004, 7:55pm UTC](https://forum.servoy.com/t/text-area-with-onfocuslost-method-triggered-by-buttonclick/2224/1 "2004-07-12T19:55:53Z")

</div>

Hi,

I have a text area with a onFocusLost method attached. When I change the content of the field, and then the first thing I do outside the field is clicking a button, the onAction method attached to the button is not fired. Only the second time I click the button is the onAction method fired.

Is this correct behaviour?

Paul

2.1 Beta4, WinXP

BTW: The onFocusLost method contains only: controller.saveData();
