These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Adding Export Values

djfixxx
Registered: Mar 22 2007
Posts: 111

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.

It professional, networking, technical, graphical, imaging, froms.

My Product Information:
Acrobat Pro 8.0999999999999996447286321199499070644378662109375, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
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.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

djfixxx
Registered: Mar 22 2007
Posts: 111
thanks i'll give it a try

It professional, networking, technical, graphical, imaging, froms.