These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Acrobat 8.1 Professional

wjones
Registered: Sep 27 2007
Posts: 2

How can I using a invoice cause the invoice number to change?

My Product Information:
Acrobat Pro 8.0999999999999996447286321199499070644378662109375, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
This script has not been tested in LiveCycle but it works in Acrobat. After a through compatibility search of the non-compatible scripts from Acrobat to LiveCycle, I did not see this function on the non-compatible list. Try it.

How to change the calculation order of fields in a document.

When a computable text or combo box field is added to a document, the field’s name is appended to the calculation order array. The calculation order array determines in what order the fields are calculated. The calcOrderIndex property works similarly to the Calculate tab used by the Acrobat Form tool.

Example
var a = this.getField("newItem");
var b = this.getField("oldItem");
a.calcOrderIndex = b.calcOrderIndex + 1;

In this example, the “newItem” field was added after the “oldItem” field. The script changes the calcOrderIndex property of the “newItem” field so that it is calculated before the “oldItem” field.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.