How to trigger onAction with checkbox element?

I want to support hitting the enterkey to walk the form fields. I created a funtion nextField and it’s triggered on the onAction. The onAction does not get triggered when the element is a checkbox. I thought this was a bug and made a case:

onAction does not fire after enter on checkbox element
When a users pushed enter on and text field, the onAction will fire. But when the element is a checkbox onAction does not fire. Only changing the checkbox will fire the onData change and then the onAction.

But this will not be fixed:
enter key only works for character input elements such as text field or text area (something with a cursor)
Regards Servoy Support

So my question:
Is there some kind of workaround? Because the support answer is the same as my case statement but rephrased. Thats not helping me ;)

Nobody got any idea how to make this work?

Stange thing is, when onDatachange is called, the onAction will fire after that.

One thing you could do is place a (transparent) element on top of the checkbox and use the onAction on the element.
Let the onAction handles the modification of the checkbox.
I know it’s a bit of a dirty trick and doesn’t work in tableview, but it’s something you could use.

onaction fires i guess on a spacebar… (that toggles the checkbox so the onaction)
if the enter key doesnt toggle the checkbox then there is no action.

I do find it a bit weird request that enters must walk over all fields. you have tab for that… But maybe you can do something with the window plugin, create a shortcut to enter and catch that somehow?

jcompagner:
onaction fires i guess on a spacebar… (that toggles the checkbox so the onaction)
if the enter key doesnt toggle the checkbox then there is no action.

I do find it a bit weird request that enters must walk over all fields. you have tab for that… But maybe you can do something with the window plugin, create a shortcut to enter and catch that somehow?

This “weird request” is exactly what a lot of User expect, if they come from earlier, older applications, DOS-xBase-Stuf, dBase, VFP, cliper.
I try since days to simulate those functionality with short-cut ENTER, but there are a lot of limits an exceptions.

I’ wondering, if maybe somebody has a complete solution for that need ?
Thank you for any tips.