Field calculations in Acrobat form

How can I subtract one field from another in Acrobat 6?
I can only find the sum function.
LVL 1
LucreciousAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
Use JavaScript in the "Custom Calculation Field":

var a = this.getField("Field1");
var b = this.getField("Field2");
event.value = a.value - b.value;

The assignment "event.value =" assignes the difference of two fields to a third field.
0
All Courses

From novice to tech pro — start learning today.