Can someone explain why there is a tabSeq for labels/buttons but there is no onFocusGained or onFocusLost events available on those elements? I need to fire a method when a user is tabbing through a form and hits a label but cannot find a way to do this. I’m only concerned with getting this functional in Web Client. Does anyone know of a way to accomplish this?
// webclientutils to get client-side label id
var labelID = ...
// webclientutils to run this js to register a focus event on the label
$( '"#' + labelID + '"' ).focus(function() {
// webclientutils registered callback function on the server here
});
I’d have to fire up Servoy to get the exact webclientutils calls but that takes a few minutes