# How to move from text field component to another component by pressing enter

**URL:** <https://forum.inductiveautomation.com/t/how-to-move-from-text-field-component-to-another-component-by-pressing-enter/107857>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [June 26, 2025, 5:30pm UTC](https://forum.inductiveautomation.com/t/how-to-move-from-text-field-component-to-another-component-by-pressing-enter/107857 "2025-06-26T17:30:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![owaisurrehman786](https://avatars.discourse-cdn.com/v4/letter/o/958977/32.png) [@owaisurrehman786](https://forum.inductiveautomation.com/u/owaisurrehman786)\
**Post date:** [June 26, 2025, 5:30pm UTC](https://forum.inductiveautomation.com/t/how-to-move-from-text-field-component-to-another-component-by-pressing-enter/107857/1 "2025-06-26T17:30:21Z")

</div>

i am making a login form in which my root container is a flex container.

- in root i have added two more flex containers
- in first flex container i have the text field
- in second flex container i have the password field
- i want to do is that when i press enter key in text field
- it will move to the password field
- both the components are in the same view
- but in different flex containers

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 26, 2025, 5:35pm UTC](https://forum.inductiveautomation.com/t/how-to-move-from-text-field-component-to-another-component-by-pressing-enter/107857/2 "2025-06-26T17:35:10Z")

</div>

Duplicate of

> [@Want to switch from one text field to password field by pressing enter](https://forum.inductiveautomation.com/t/want-to-switch-from-one-text-field-to-password-field-by-pressing-enter/107858):
>
> i am making a login form in which my root container is a flex container. in root i have added two more flex containers in first flex container i have the text field in second flex container i have the password field i want to do is that when i press enter key in text field it will move to the password field both the components are in the same view but in different flex containers
