Solved

Field calculations in Acrobat form

Posted on 2003-10-24
1
614 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to install Acrobat DC - Creative Cloud 7 1,430
Workflow help 5 107
Adobe Flash player - Microsoft Edge 9 158
*Best* PDF to Word Convertor 4 114
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now