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

Calculated fields in 8 Wow!

Dale
Registered: Sep 18 2007
Posts: 19

I want to multiply one field by another and display the result in a third. That was pretty easy with 4.0 How do I do it in 8?

timhuff5
Expert
Registered: Oct 17 2005
Posts: 14
Dale,

It is a good question, but a little hard to write in this little box, so I wrote it in my [url=http://acrobat.timhuff.net]Blog[/url] and created a video[url=http://acrobat.timhuff.net/?p=26#more-26]Video[/url] to show how I would approach this, good luck

Tim Huff

Tim Huff
North American TAM Manager
[link=http://acrobat.timhuff.net/] My Blog - I didn't know Acrobat could do that! [/link]

Dale
Registered: Sep 18 2007
Posts: 19
Tim,
Man alive, your response was a stunner in both the information given and the effort put forth, but,...I'm working in LiveCycle Designer not 3D.

Shouldn't the form design environment (LCD) have that nifty dialog that presents, (like in 3D movie) all the fields and the arithmetic operator selector, or am I missing something? LCD's "Object" dialog, where you define the field type lets you select, for instance, "Calculated - User can override" but offers no way to define the calculation

Short of that, can I install 3D, load up my form and do what you did?

All the best, and thanks again.
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Acrobat with the introduction of version6 provided 2 different platforms for developing PDF forms. The original Acrobat forms and an XML tool purchased from JetForms, now called LiveCycle Designer.

LiveCycle Designer can use either FormCalc or JavaScript. Using FormCalc run on the client you can enter the following script for the calculation action:

FieldName1 * FieldName2;

You might want to look at the "Scripting Reference" included in LiveCycle Designer's help.

George Kaiser

Dale
Registered: Sep 18 2007
Posts: 19
Indeed you can. Thank you so much.
And yes, I'll look at the help file as you suggest.
Just know that when sitting at one of these machines, when I see any form of the word "script", I sort of panic

But irregardless of my shortcomings, what a helpful forum we have here!

Any thoughts on my "Acrobat form field layouts" post of yesterday?