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

anyone have code examples for setting tab order with Javascript?

Guest
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

I'm looking to set the tab order with JavaScript when I copied the form objects to a newly updated pdf form and the tab order is now all over the place.

if there were just a few out of order, I would manually update through the tab order list. I need a customized order

thx

TOPICS
Acrobat SDK and JavaScript , Windows

Views

653

Translate

Translate

Report

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 ,
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

There isn't a method to set a custom tab order via JavaScript, unfortunately.

Votes

Translate

Translate

Report

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
Advocate ,
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

In addition to George_Johnson's answer, the closest would be looping through the fields, reading out their properties, deleting them, recreating the fields in the "correct"order while reapplying the properties.

Votes

Translate

Translate

Report

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 ,
May 13, 2016 May 13, 2016

Copy link to clipboard

Copied

The best that can be done is to use

setPageTabOrder

which only allows "rows", "columns", and "structure".

I would make sure that you turn off the "Preferences => Forms => "General" => "Adjust tab order when modifying fields". Or every time you edit the form the tab order will change.

Votes

Translate

Translate

Report

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
Guest
May 18, 2016 May 18, 2016

Copy link to clipboard

Copied

LATEST

Thanks for all the feedback

I'll try the setPageTabOrder

Votes

Translate

Translate

Report

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