cancel
Showing results for 
Search instead for 
Did you mean: 

Focus change from input field

saket_abhyankar
Active Participant
0 Kudos

Hi All

Is there any method or event or any other way to capture the change of focus from one field to other by user on screen?

My requirement is to perform validation on the entered value in one input field when user enteres value in other input field on the screen. I know it can be done through 'on enter' event but I want it to happen directly without any user interaction (only on focus change) on screen.

Regards,

Saket.

Accepted Solutions (1)

Accepted Solutions (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi Saket,

Its not possible to trigger any event when an ui element loosing its focus. You would have to either make use of enter/LinkToAction/Button to trigger any action required by you. Please go through this [thread |;& Thomas Jung's responses in that. Hope they help guide you a bit.

Regards,

Uday

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

use methods REQUEST_FOCUS_ON_VIEW_ELEM of Interface IF_WD_VIEW to bring focus on the UI element.

get the reference of View from wddomodifyview method of view controller.

Thanks,

Rahul