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

simple calculation writing

cooleyce
Registered: Mar 14 2007
Posts: 4

I have had to convert an "OmniForm" form into an editable PDF using Lifecycle Designer(I am a definate beginner). I am trying to do what I think is a simple calculation (quantity {numeric field 1}x est unit price {numeric field 2}= est total price {numeric field 3}) but I can not figure out how to do it. Can you help?

My Product Information:
Acrobat Pro 7.0.0, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi colleyce,

Live Cycle Designer includes a set of example forms including an order form with this exact type calculation. Open Designer, click on the Explore Sample Forms in the initial splash screen, choose Purchase Order -> Dynamic Interactive ->Purchase Order.pdf
Once you have the form open you can examine the scripts used in each field by opening the Script window (Window ->Script Editor).Hope that helps,

Dimitri
Windjack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
rowelc
Registered: Nov 11 2008
Posts: 5
I am using Acrobat 9 Pro for Macintosh. I created a pdf out of InDesign. I'm trying to make it an interactive/fillable pdf.

Field X
Field Y
Field Z

Field Z would be the result of Field Y being divided by Field X.
All three fields are formatted as a number, decimal places “2,” no currency symbol. Field values are not validated. For Field [Z] in the calculation, I checked “Simplified Field Notation” and entered:  Y / X

Field [Z] would be a result of division [Y divided by X]. It calculates correctly, but pop up messages keep appearing all over the document when you try to enter information in other fields that say: The value entered does not match the format of the field [Z]. And then it pops you back to the page with that field on it [Z].

HELP! How can I rectify this problem?
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You need to write a custom calculation script for this calculation.

Use zero or null as a divisor and what value do you expect to get?

George Kaiser