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

Help with radio buttons!

ilikebinglee
Registered: Dec 11 2008
Posts: 11

I am trying to make a form that adds a freight charge to the total if the customer wants their items sent to them, but does not add the charge if they choose to pick it up, it should look somewhat like this -

If "delivery" = Yes then Add "Freight" to "PayTotal"
If "delivery" = No then End

But i have not used javascript before, and it is significantly confusing for the uninitiated. If someone could please convert my crude outline into script for me, i would be most appreciative.

Tom

My Product Information:
Acrobat Pro 9.0, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Did you create the form in Acrobat or LiveCycle Designer? If your PayTotal field is a calculated field, how is it currently set up? If it uses a custom calculation script, please post what you're using.

George
ilikebinglee
Registered: Dec 11 2008
Posts: 11
PayTotal is the sum of all of the individual items prices, with just the basic "sum of the following fields" calculation, the field names involved in it are "MuscleTotal, PoloTotal, ShirtTotal, ShortTotal, SockTotal" I am using Acrobat 9 Pro.


Thanks heaps,
Tom
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
Since you have 9 Pro your form can be created by Acrobat or LiveCycle Designer and each program has many differences in the scripting language.

George Kaiser