# Shifting Entry Field Focus

**URL:** <https://forum.inductiveautomation.com/t/shifting-entry-field-focus/29651>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [November 4, 2019, 8:00pm UTC](https://forum.inductiveautomation.com/t/shifting-entry-field-focus/29651 "2019-11-04T20:00:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander41](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Alexander41](https://forum.inductiveautomation.com/u/Alexander41)\
**Post date:** [November 4, 2019, 8:00pm UTC](https://forum.inductiveautomation.com/t/shifting-entry-field-focus/29651/1 "2019-11-04T20:00:07Z")

</div>

I am trying to shift focus to the next data entry field, after a value is entered for an initial field. The code below works for a keyboard, but the touch screen mode entry pad leaves a blinking line in the field even after it loses focus. Is there a way around this?

On property change:

```auto
if event.propertyName == 'doubleValue':
     nextfield = event.source.parent.getComponent('Next Component Name')
     nextfield.requestFocusInWindow()

```
