# Automatically move the cursor to text input field

**URL:** <https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 5, 2023, 6:38am UTC](https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745 "2023-09-05T06:38:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soundararajans\_S](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Soundararajans\_S](https://forum.inductiveautomation.com/u/Soundararajans_S)\
**Post date:** [September 5, 2023, 6:38am UTC](https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745/1 "2023-09-05T06:38:19Z")

</div>

Am having button on my main perspective view, when I press the button, pop-up will open. In that pop-up I have a text field. Now am manually place the cursor to type something. Instead of that, when the pop-up is open, immediately, cursor need to place in the text filed automatically. I have only one text filed in the pop-up.

Share your inputs to achieve this...

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 5, 2023, 8:06am UTC](https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745/2 "2023-09-05T08:06:14Z")

</div>

You didn't spend too much time looking, did you ?

> [@How to set focus in perspective](https://forum.inductiveautomation.com/t/how-to-set-focus-in-perspective/46006):
>
> I have a pop-up view in perspective that contains some labels, buttons and a textfield. I’d like to set the focus to the textfield when the pop-up opens, how can I do this?

---

<div class="post-metadata">

**Author:** ![Soundararajans\_S](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Soundararajans\_S](https://forum.inductiveautomation.com/u/Soundararajans_S)\
**Post date:** [September 5, 2023, 8:13am UTC](https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745/3 "2023-09-05T08:13:16Z")

</div>

Much time already spent. Can't find the way to resolve this.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 5, 2023, 8:36am UTC](https://forum.inductiveautomation.com/t/automatically-move-the-cursor-to-text-input-field/78745/4 "2023-09-05T08:36:41Z")

</div>

The solution is in the thread I linked... which I found in 10 seconds.
