Move to next field with Return key

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Move to next field with Return key

Postby joe26 » Wed Apr 05, 2017 7:28 pm

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.
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: Move to next field with Return key

Postby lwjwillemsen » Wed Apr 05, 2017 10:46 pm

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.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Move to next field with Return key

Postby Jan Aleman » Wed Apr 05, 2017 11:14 pm

Try using the onAction event on the field it is triggered the keyboard return key.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Re: Move to next field with Return key

Postby joe26 » Thu Apr 06, 2017 5:14 pm

Couldn't see the forest for the trees. Was looking for exactly that, but seems that sometimes stuff disappears.

Simple. Thanks!
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: Move to next field with Return key

Postby kwpsd » Fri Apr 07, 2017 12:02 am

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.
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Move to next field with Return key

Postby lwjwillemsen » Fri Apr 07, 2017 9:06 am

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.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands


Return to Web Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron