# onDataChange behaviour

**URL:** <https://forum.servoy.com/t/ondatachange-behaviour/19169>\
**Category:** Classic Servoy\
**Created:** [March 9, 2017, 10:18am UTC](https://forum.servoy.com/t/ondatachange-behaviour/19169 "2017-03-09T10:18:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrancoIF](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jbrancoIF](https://forum.servoy.com/u/jbrancoIF)\
**Post date:** [March 9, 2017, 10:18am UTC](https://forum.servoy.com/t/ondatachange-behaviour/19169/1 "2017-03-09T10:18:18Z")

</div>

I searched on the wiki, support system and the forum and I can’t find any reference to this problem.

I have a change of behavior to how onDataChange is called between Servoy 5 and 8.1.2 on SmartClient. Don’t know if it’s a bug or something that was announced (I can’t find the announcement).

On a text field, before, the onDataChange was fired when the user ended a field edition and got out of the field. Now, every key type calls the onDataChange. Is this normal? Is there a way to go back to the old behavior?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![lwjwillemsen](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lwjwillemsen/32/4987_2.png) [@lwjwillemsen](https://forum.servoy.com/u/lwjwillemsen)\
**Post date:** [March 9, 2017, 1:19pm UTC](https://forum.servoy.com/t/ondatachange-behaviour/19169/2 "2017-03-09T13:19:42Z")

</div>

Wow, has that really changed in this manner in Servoy 8?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [March 13, 2017, 8:36am UTC](https://forum.servoy.com/t/ondatachange-behaviour/19169/3 "2017-03-13T08:36:08Z")

</div>

that should really not happen. it should still work as before only on focus lost (or enter/action) it should be triggered.
