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
Copy link to clipboard
Copied
There isn't a method to set a custom tab order via JavaScript, unfortunately.
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.
Copy link to clipboard
Copied
The best that can be done is to use
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.
Copy link to clipboard
Copied
Thanks for all the feedback
I'll try the setPageTabOrder