176
Views
1
Comments
OnLeave, OnLostFocus or OnExit on Input Fields

I cannot figure out how to implement a trigger on when you click off an input field in outsystems. I was told this can be done in outsystems UI so can the answer include no Forge or JS pls.

Surely if there is a onFocus there must be a negative of that somehow right? :-) 

Let me know if this can done. Thanks.

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi J,

I think you are looking for the blur event. The blur event fires when an element has lost focus. As highlighted in the below image is how you define the blur event handler to an input widget.

Demo Screen: InputOnBlurTask

I hope this helps you!


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.