# Textfield Auto focus

**URL:** <https://forum.inductiveautomation.com/t/textfield-auto-focus/117622>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [October 27, 2026, 1:59pm UTC](https://forum.inductiveautomation.com/t/textfield-auto-focus/117622 "2026-10-27T13:59:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [October 28, 2026, 1:33pm UTC](https://forum.inductiveautomation.com/t/textfield-auto-focus/117622/5 "2026-10-28T13:33:12Z")

</div>

Yes, but I would [avoid any use of `.getChild()`](https://forum.inductiveautomation.com/t/dos-and-donts-when-developing-first-project-with-ignition/93592/5) or the like, as such references will break if you ever rearrange or rename components. I would use `system.perspective.sendMessage()` and put a listener on root and the TextField component.

---

_[View the full topic](https://forum.inductiveautomation.com/t/textfield-auto-focus/117622)._
