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-14 10:56:50

henryinTO
Member
Registered: 2007-12-14
Posts: 0

Positive & Negative totals

Hi, I have a PDF form that has a number of calculations that end in a total that could be a positive or negative $ amount. I would like to have separate boxes (one for any positive numbers & one for negatives). How do I formate each separate box to automatically accept the appropriate + or - number in its box?
Thanks very much.


My Product Information:
Acrobat Pro 7 / Macintosh

Offline

 

#2 2007-12-17 20:12:25

thomp
Member

Registered: 2007-04-23
Posts: 1027

Re: Positive & Negative totals

If this is an AcroForm, the easiest way to do it is to place identical calculation scripts in both positive and negative text boxes.  Then use the Format event to blank out the value in the field that doesn't apply.  Take a look at this article:

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

If it's for a LiveCycle form, then use a hidden 3rd field to do the calculation and assign values to the visible fields based on the result.

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