Solved

Field calculations in Acrobat form

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
want a paintbrush or white eraser tool in adobe acrobat 8 6 83
PDF File Not Opening in Chrome Browser 12 521
Need graphics tool to create card game 2 137
Outlook 2013 and Adobe 3 66
Acrobat’s JavaScript is a great tool to extend the application, or to automate recurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts,…
One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
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 …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

813 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

11 Experts available now in Live!

Get 1:1 Help Now