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

Louise-

I have had this problem before too.  Usually when dealing with
percentage fields.  For some reason Acrobat doesn't like to divide
number fields in a percentage formatted field.  If this is the case with
you, make the percentage field a numerical field and do this JS calc:

var a = this.getField("Field1")
var b = this.getField("Field2")
vvent.value = a.value / b.value * 100

This will make the percentage field appear in the format you may be
looking for.  Remember to choose the format without a comma when setting
the numerical field.  If this isn't the situation hopefully this rant
helped somebody out there who has had the same problem.

Thanks....Justice

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david lindblad
Sent: Thursday, April 29, 2004 11:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [PDF-Forms] Calculation of fields - division


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

email it over I can have a look if you like.

Dave


On 29-Apr-04, at 2:00 PM, [EMAIL PROTECTED] wrote:

>
> PDF-Forms is a service provided by PDFzone.com | 
> http://www.pdfzone.com/ 
> __________________________________________________________________
>
>
> I have a few forms on which I need to do division, at several 
> locations, but when I add the JavaScript for division for the 
> appropriate field, I get an error message for every field before I 
> reach the fields used in the calculation. The message is the following

> "The value entered does not match the format of the field (Field 
> Name)".
>
> I have tried the solution recommended in the Tue, 15 May 2001 
> discussion, Subject [PDF-Forms] Blank Forms??????
> but the same scenario occurs.
>
> I have Acrobat 5.0
>
> Please help.


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


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

Reply via email to