Skip to main content
Participating Frequently
Dec 10, 2016 12:03 AM UTC
Question

auto tabbing

i am not using LiveCycle any more and not sure how to get the form to auto tab.  i have boxes that i have restricted to 1 character and want the form to auto tab to next box, which is also limited to 1 character.  (accounting codes). tried using the Java Script i used before under actions, but is not working.

thank you for your help

EC

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Inspiring
Dec 11, 2016 5:12 PM UTC

Use the comb field in LiveCycle.

Translate
Participating Frequently
Dec 12, 2016 5:23 PM UTC

Is there any way to do this using Adobe Acrobat Pro and not liveCycle?

Thank you,

Etta Cay Dixon

[personal information removed per policy - https://forums.adobe.com/docs/DOC-3731]

[This is an open forum, not Adobe support, please do not post personal information]

[If you are posting using email, please turn your 'sig file' function OFF for posting]

Translate
try67
Community Expert
Community Expert
Dec 12, 2016 6:06 PM UTC

Yes, it's possible. You need to define this function as a doc-level script:

function autoTab(cName){

    if (event.rc && AFMergeChange(event).length == event.target.charLimit) {

        var f = this.getField(cName);

        if (f==null) {

            app.alert("Can't locate: " + cName);

            return;

        }

        f.setFocus();

    }

}

And then use this code as the field's custom Keystroke event (the name in the parentheses is the name of the field to tab to):

autoTab("Text1");

Translate