Expand my Community achievements bar.

condition if field get focus

Avatar

Level 5

Hi All.

Is it possible to create condition if field get focus?

Thanks.

2 Replies

Avatar

Level 7

You can use the Enter event which executes when the cursor is in the field, hence has focus. You can also use the Exit event when the field is exited > lost focus

Avatar

Level 10

and if you use "event propagation" you could have a script in the top elements enter event, which will be fired whenever any form object triggers a enter event.

1457487_pastedImage_0.png