Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alebar14

macrumors regular
Original poster
Jul 14, 2007
180
0
Auckland CBD, New Zealand
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 ?
 

Attachments

  • queens.jpg
    queens.jpg
    68.1 KB · Views: 100

alebar14

macrumors regular
Original poster
Jul 14, 2007
180
0
Auckland CBD, New Zealand
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 ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.