Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

auto tabbing

New Here ,
Dec 09, 2016 Dec 09, 2016

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

TOPICS
Acrobat SDK and JavaScript , Windows
542
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 11, 2016 Dec 11, 2016

Use the comb field in LiveCycle.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 12, 2016 Dec 12, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 12, 2016 Dec 12, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 12, 2016 Dec 12, 2016

Sorry I am only a moderate user;  do I enter this under the properties of the cell/actions/select trigger?/Select Action would be Java Script and add this?

Thank you,

Etta Cay Dixon

​[Personal information removed by moderator]

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 12, 2016 Dec 12, 2016
LATEST

Which part are you talking about? I explained where each code needs to go to, above.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines