# Adding listener to a textfield

**URL:** <https://forum.kirupa.com/t/adding-listener-to-a-textfield/189532>\
**Category:** Uncategorized\
**Created:** [June 3, 2006, 2:38pm UTC](https://forum.kirupa.com/t/adding-listener-to-a-textfield/189532 "2006-06-03T14:38:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalexand](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@kalexand](https://forum.kirupa.com/u/kalexand)\
**Post date:** [June 3, 2006, 2:38pm UTC](https://forum.kirupa.com/t/adding-listener-to-a-textfield/189532/1 "2006-06-03T14:38:33Z")

</div>

I have a textfield whose contents change programmatically. I tried to use TextField.onChanged handler but with no luck. Searched help and read that: “programmatic changes to the text field do not trigger the onChanged event”.  
Is there any other way to do this?
