PDA

View Full Version : Javascript language for my Page Qty & Sub Total ?




alebar14
Oct 31, 2007, 08:49 PM
This is my first time using Adobe Acrobat Pro version 8. Anyway, before I ask a further question, I would like to ask if I am in the right direction getting my value:

if(this.getField("myCheckBox.0").isBoxChecked(0)){
this.getField("myTextField") = 1;
}else
if(this.getField("myCheckBox.1").isBoxChecked(0)){
this.getField("myTextField") = 1,495.00;
}

The value as I assume is 1,495.00 as I wanted to sum it up with the rest of the field so I can get a SUB TOTAL price of a photography album package.

As I found everything fine and there is no 'error respond' ,so I assume I am in the right direction.

Anyway, I want to make a JavaScript calculating language for:

1. Page Qty , I want to put any value (1,2,3,...) and multiply with $195 and it will sum it all up at SUB TOTAL
2. SUB TOTAL from all the CLICKED photography package

How do I do that ?



alebar14
Nov 1, 2007, 02:34 AM
Anyone ? Pls there must be someone who can help me... ! This is for my client. I'm not a scripter, just a graphic designer.

alebar14
Nov 1, 2007, 05:22 AM
If you go to Apple site, when you start buying something on its Apple Store, you will see 'Add to Chart' page where you can click its radio buttons and see the SUB TOTAL cost directly. I want to applied the same system with Javascript on Adobe Acrobat Professional 8.

How do i do that ? Any sample ?