Solved

Field calculations in Acrobat form

Posted on 2003-10-24
1
618 Views
Last Modified: 2012-08-13
How can I subtract one field from another in Acrobat 6?
I can only find the sum function.
0
Comment
Question by:Lucrecious
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 50 total points
ID: 9792751
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Getting information about Fonts being used in a PDF file A colleague of mine recently faced an issue related to the PDF file format. The PDFs were containing mission critical client information, they were successfully mailed but there was a sm…
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question