# \[Solved\] Do something when a text input field is touched down

**URL:** <https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [September 4, 2019, 5:33pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575 "2019-09-04T17:33:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [September 4, 2019, 5:33pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/1 "2019-09-04T17:33:32Z")

</div>

Is it possible to execute a command when a text input field is active.  
I like to show some info for each text input field. I can NOT use the hint because the info is a long sentence.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [September 4, 2019, 6:18pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/2 "2019-09-04T18:18:30Z")

</div>

No, this cannot be done.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 16, 2020, 2:51pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/3 "2020-07-16T14:51:07Z")

</div>

@funhall - just to update this topic in case any new users are searching the community.

The text input now has event blocks to handle when the component gets and looses focus.

[https://docs.thunkable.com/text-input#click](https://docs.thunkable.com/text-input#click)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [July 16, 2020, 3:00pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/4 "2020-07-16T15:00:36Z")

</div>

That is a nice feature. But I couldt get it to work…  
Do you have a example app you can share???

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 25, 2020, 9:01pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/5 "2020-07-25T21:01:17Z")

</div>

@funhall what would you like it to do?

---

<div class="post-metadata">

**Author:** ![penny](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@penny](https://community.thunkable.com/u/penny)\
**Post date:** [July 26, 2020, 2:10am UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/6 "2020-07-26T02:10:08Z")

</div>

I tried to use this and I’m still experimenting with it. It seems that “onClick” should be used in the same way “onFocus/gotFocus” would be. Works well in Preview.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:11pm UTC](https://community.thunkable.com/t/solved-do-something-when-a-text-input-field-is-touched-down/210575/7 "2024-11-08T12:11:40Z")

</div>


