[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Field calculations in Acrobat form

Posted on 2003-10-24
1
Medium Priority
?
642 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 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
*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 first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 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