/ Id-Extras Forum / Field calculations working in Acrobat, but not Foxit / Reply To: Field calculations working in Acrobat, but not Foxit

#6751
~~Ariel~~
Participant

Hi Anagoge,

I downloaded Foxit and gave it a spin. It seems you are correct. When calculations are created with FormMaker, although they run fine in Acrobat, they do not work well with Foxit.

The workaround I’ve found is to use a custom calculation script in FormMaker. It’s not quite as easy as using the option “The value is the sum of the following fields”, and then picking the fields, but it’s not too bad.

If your document has 3 fields called Text Field 1, Text Field 2, and Text Field 3, the following custom calculation script (which you may paste into the custom calculation box in FormMaker) will display in Field 3 the sum of Fields 1 and 2:

event.value = this.getField("Text Field 1").value + this.getField("Text Field 2").value;

Custom calculations like this created with FormMaker do seem to work fine in Foxit.

I hope that helps!

Ariel

  • This reply was modified 4 months, 3 weeks ago by ~~Ariel~~.