Autotab property to move focus to next field in Web page

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
MegumiSawada
Posts: 80
Joined: Tue Mar 22, 2016 1:45 pm
Location: Tokyo, Japan

Autotab property to move focus to next field in Web page

Post by MegumiSawada »

Hi

We can use Autotab property to move focus to the next field after the fill digit are entered in Form.
Can we use Autotab property to do so in Web page too?

I have tried it with the following code on IE11 but it doesn't work as expected. After text entered to the maximum digit, The whole text will be selected.(Our expected behavior is to move focus to the next field.)
It seems it works as expected on Chrome and Microsoft Edge.
Which is the intended behavior?

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB)
Define_Com Class(#STD_CODE.Visual) Name(#STD_CODE) Componentversion(1) Displayposition(1) Height(21) Left(8) Parent(#COM_OWNER) Tabposition(1) Top(8) Usepicklist(False) Width(207) Autotab(True)
Define_Com Class(#STD_CODEL.Visual) Name(#STD_CODEL) Componentversion(1) Displayposition(2) Height(21) Left(8) Parent(#COM_OWNER) Tabposition(2) Top(30) Usepicklist(False) Width(240)

Evtroutine Handling(#Com_owner.Initialize)

Endroutine

End_Com
Best Regards,
Megumi Sawada
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Autotab property to move focus to next field in Web page

Post by Stewart Marshall »

Hi Megumi

Visual LANSA features should behave the same in every browser.

As Autotab works correctly in Chrome and Edge, it should do the same in IE. The fact that it doesn't means that it is a bug.

Please report this to your regional helpdesk


Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply