Copy link to clipboard
Copied
I know how to set field calculation order manually. But it's lots of work when you have a hundred calculated fields within a form ... Is there a chance to reset field calculation order automatically?
Afaik Acrobat is not capable to do it like Excel and detect the right order automatically. But it would be helpful if I could do a reset by lines (like the TAB-Order). That would do 95% of the job. Only a few fields need to be moved around.
Copy link to clipboard
Copied
Yes, calculation order can be set automatically. In fact it already is set to the order in which fields are created.
To do this with a script would require some kind of clue for the script to follow. For example page number and page coordinate. Or something in the name?
The calculation order is set with the "field.calcOrderIndex" property.
Copy link to clipboard
Copied
Thanks @Thom Parker !
>In fact it already is set to the order in which fields are created.
The problem is that for years fields were added by and by and not necessarily in calculation order ...
>To do this with a script would require some kind of clue for the script to follow.
Well, guess that's too much work. I was hoping I might have overlooked an existing possibility for an Excel-like way, or at least, like Tab-Order in Acrobat. My company is planning to substitute the PDF-Forms by some Webservice soon - well, what a company calls "soon" ;-D