PDF-Basics is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

I wrote this java script that subtracts two numbers.  But I want it to show a negative 
number in one field and if it is a positive number  to show up in another field.  Here 
is 
the java script 

var n = this.getField("Valueh");
var o = this.getField("Valuei");
event.value = n.value - o.value;

Example is 
total expense +
Less cash advance -
amount to be reimbursed +
amount owed to company -


Thanks in advance

Kevin Schore MCP
Information System Manager
Interiors By Decorating Den
301-272-1500 Fax:301-272-1520
[EMAIL PROTECTED]
www.DecoratingDen.com


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfbasics.html

Reply via email to