Page 1 of 1

Move to next field with Return key

PostPosted: Wed Apr 05, 2017 7:28 pm
by joe26
I'm using a browser that has no tab key on the target device keyboard and no mouse.

I'm seeking to move from a field which has no data entered.

Pressing Return is ignored by the onDataChange event, of course.

The key listener plugin doesn't work in the web browser.

I'm testing different options, and haven't located a similar issue in the forums.

o use web utils and manipulate it from the browser side, and ...
o injection of a space in each new field, then an enter would see the new event as a space or data
o use button passthrough over fields, at least it takes a 'Return'
o use web browser intercept of <CR> 13
o plugins.window.createShortcut, which would set the shortcut for 'Return' to a 'Tab', but that messes with a basic key function

I'm hoping I missed something simple. Any ideas on accepting a blank entry on Enter?

thanks!
--Joe.

Re: Move to next field with Return key

PostPosted: Wed Apr 05, 2017 10:46 pm
by lwjwillemsen
If that (tabbing with enter) was possible In Servoy web- and smart client I could make many (data entry) end users happy...
Ideally imho that feature would be a form field property.

Re: Move to next field with Return key

PostPosted: Wed Apr 05, 2017 11:14 pm
by Jan Aleman
Try using the onAction event on the field it is triggered the keyboard return key.

Re: Move to next field with Return key

PostPosted: Thu Apr 06, 2017 5:14 pm
by joe26
Couldn't see the forest for the trees. Was looking for exactly that, but seems that sometimes stuff disappears.

Simple. Thanks!

Re: Move to next field with Return key

PostPosted: Fri Apr 07, 2017 12:02 am
by kwpsd
If that (tabbing with enter) was possible In Servoy web- and smart client I could make many (data entry) end users happy...


+1

This is the #1 complaint we get from our users.

Re: Move to next field with Return key

PostPosted: Fri Apr 07, 2017 9:06 am
by lwjwillemsen
Wow Jan, never knew that! How many (Servoy) details can a brain hold over the years?
I am now looking into it but it looks promising.
Thanks Jan.