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-12-24 10:07:26

brennanhobart
Member
Registered: 2007-12-12
Posts: 9

User enter a CPU calculate a value

I have a software oder form at [link=http://doit.missouri.edu/software/sales/autocad.pdf]http://doit.missouri.edu/software/sales/autocad.pdf[/link] I need to calculate in $400 to the AutoCad subtotal when the user enters the CPU serial number for each computer. I also need to calculate on the same form for every CPU number entered in the other software add $200 to that subtotal. I'm used to having UnitCounts but this has me stumped. Any suggestions? Thanks.


My Product Information:
LiveCycle Designer Standard 8.1 / Windows

Offline

 

#2 2008-01-02 14:57:59

thomp
Member

Registered: 2007-04-23
Posts: 755

Re: User enter a CPU calculate a value

The PDF file at the above link is flat, i.e., it only contains non-interactive page content. So the first thing you need to do is to place interactive form fields on it. 

You should also do some reading on Acrobat forms and JavaScript.  You can find more info at:

http://www.adobe.com/devnet/acrobat/

Click on the "Documentation" tab.  You'll also find some useful info at:

http://www.acrobatusers.com/tech_corner … eyword=All

In particular, there is an article on calculations and several on entering scripts. 

http://www.acrobatusers.com/tech_corner … culations/

Offline

 

#3 2008-01-03 09:23:03

brennanhobart
Member
Registered: 2007-12-12
Posts: 9

Re: User enter a CPU calculate a value

Thom,

Your right it was simple. This statement in the subtotal did it.

if (Page1.Software.ChemOrder1.ChemOfficeCPU1 == Null) then $ = Null
else $ = 30
endif

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