Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-10-11 15:52:35

djfixxx
Member

Registered: 2007-04-30
Posts: 0

Adding Export Values

Adding export Values.
I am using numeric values in check boxes and want to add them and then divide by and I forgot the java code and can't seem to get it right.


My Product Information:
Acrobat Pro 8.1 / Windows

Offline

 

#2 2007-10-12 11:11:31

pddesigner
Member

Registered: 2007-04-24
Posts: 55

Re: Adding Export Values

Set the export value for each check box.

Add a text field that is hidden, formated for numbers and will sum the totals of the check box values.

Add a second text field and enter a custom calculation script.

var t = this.getField("Sum");
Note: Sum is the value in the hidden text field.

event.value = t.value /2;

Substitute the 2 for the divisor you'll use.

Offline

 

#3 2007-10-12 11:39:41

djfixxx
Member

Registered: 2007-04-30
Posts: 0

Re: Adding Export Values

thanks i'll give it a try

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in