Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automatically Tabbing to next field


I have 4 input fields, with maximum length 2,3,3 and 3 respectively. While entering values to the fields, the control has to tab to next field automatically once the field reaches its maximum length.

I tried some script in 'full' and 'change' events, but the full event is called only when we try to cross the field's maximum length, and 'change' event is called for every key stroke and always returns 'null' for 'this.rawValue' .

How can I do it?




Hi Prabhakar,

you can use the change event. If max length of your field is 3 then use the javaScript like following:

if (xfa.event.selStart==2 && xfa.event.selEnd!=3);


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question