Dear Anyone who may help me,
I'm a beginer user and i need HELP for the below for Acroform:
Say;
Field1 = 1
Field2 = 2
Field3 = (1-2)>0
= 0
Now, what i did was i go to
"custom calculation script"
"edit"
if(Field1-Field2)then
FieldC
elseif
FieldC>0then
0
endif
However, i can't get the answer. Please help me!
Thanks and good day
Becks
http://www.adobe.com/devnet/acrobat/
And here's a link to an article on calculation scripts:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/
Next, the field values that will be used in the calculation have to be acquired and the result of the calculation has to be properly assigned to the field.
So, you're calculation script might look like this
I don't know if this is exactly what you are trying to do, but the syntax is correct.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script