Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82379

How to set the focus to a same widget in case a custom validation error fails?

$
0
0

Hello Everyone,

I am creating a time report app. One time report can have multiple time report lines in order to capture the hours for all days in a week (list view and table containers) . In the on change event of each hours , i check if the sum total of hours entered is > 24. The validation message executes successfully, but the focus goes to the next widget (i.e. the immediate widget in case of TAB or any widget clicked using mouse).

What I need is in case of an error, the cursor should be on the same widgets.

Any Ideas?


Viewing all articles
Browse latest Browse all 82379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>