Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Autotab - is it possible?


Not applicable
Does anyone know how to enable autotabbing between text fields for forms created using livecycle? I've tried a number of different scritps with no success.

Thanks in advance
6 Replies


Level 9

I presume you want to do something where once the field is "full", it automatically tabs to the next field.

I think you should be able to do this (although I haven't actually tried it) but adding a SetFocus call on the "Full" event. Note that the parameter for SetFocus is a String containing the som expression of the field you want to set focus to. You will also have to set the maximum number of characters in the field.



Not applicable
Hi Howard,

After a few attempts & with some additional advice I've managed to crack it. Thanks..


Not applicable
This may not be exactly what the original poster had in mind... But I needed to skip a field in the tab order. I put the following JavaScript in the enter event of the field I wanted skipped:"next_field"));

where "next_field" is the name of the field the cursor should go to.

Hope that's helpful--



Not applicable
Kathryn's example does work, but has the same problem as the FormCalc function does. The text will lose a character keystroke when the setFocus is applied.

The alternative way to do this in FormCalc is:"NextField")

Does anybody know how to get around the character loss?


Level 1
If you have a set character length for your entry this will work on the change event:

if (xfa.event.newText.length == 3){;


where "3" is the length to autotab at and "next" is the name of the field to tab to.

To bad they made the Full event useless.