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

form fields

Declan
Registered: Apr 13 2007
Posts: 2

how can I create a result in field 3 (a fee) based on a selection made in field 1 (a drop list) and a cash value in field 2?

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

The solution is different depending if this is for a LiveCycle XFA form or an Acrobat Acroform (the scripting engine is different for each).

If this is for an AcroForm take a look at these articles on JavaScript Corner here at AcrobatUsers.com for scripting in combo boxes and field calculations-

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/change_another_field/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/change_another_field/[/url]

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/[/url]

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/scripts_form_fields/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/scripts_form_fields/[/url]


If it is for a LiveCycle XFA form there is an excellent example provided in the Sample Library of the Designer program (open Designer, click on Explore Sample Forms in the opening splash screen then navigate to Purchase Order ->Dynamic INteractive ->Forms -> PurchaseOrder.pdf) You can examine the scripts used for the fields in the script window (Window ->Script Editor)Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]