# Focus in FlexRepeater

**URL:** <https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 21, 2026, 1:32pm UTC](https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445 "2026-01-21T13:32:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Tornblom](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Thomas\_Tornblom](https://forum.inductiveautomation.com/u/Thomas_Tornblom)\
**Post date:** [January 21, 2026, 1:32pm UTC](https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445/1 "2026-01-21T13:32:56Z")

</div>

I have a FlexRepeater that repeat instances of a view containing a lable and a numeric entry field.  
The lable uses a parameter index to get a number in front of every field. What I want to do is to move focus to the next numeric entry field when the user presses enter key. I have tried to make this with a onKeyDown event on the numeric field and a message handler on the FlexReapeater but I haven’t had much luck and need some input.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/9762d2a96d78fd0f2bf2aa529599ad4c5beba2a9.png)

---

<div class="post-metadata">

**Author:** ![Thomas\_Tornblom](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Thomas\_Tornblom](https://forum.inductiveautomation.com/u/Thomas_Tornblom)\
**Post date:** [January 21, 2026, 3:53pm UTC](https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445/3 "2026-01-21T15:53:36Z")

</div>

I got it to work! No input needed. 😀

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [January 21, 2026, 3:56pm UTC](https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445/4 "2026-01-21T15:56:14Z")

</div>

Post the answer in case someone else has the same question.

---

<div class="post-metadata">

**Author:** ![Thomas\_Tornblom](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@Thomas\_Tornblom](https://forum.inductiveautomation.com/u/Thomas_Tornblom)\
**Post date:** [January 21, 2026, 4:34pm UTC](https://forum.inductiveautomation.com/t/focus-in-flexrepeater/113445/5 "2026-01-21T16:34:01Z")

</div>

I created an event on the numeric field that passes a message with the index I already had to a message handler in hte same tree that listens and focuses on the right instance and finally an other message handler in the flex repeater that calculates next index and sends it back to the message handler in the tree of the view thats getting instanced.

Maybe it it more complicated then it should be but it works.
