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

Using radio buttons to add one field to another

ilikebinglee
Registered: Dec 11 2008
Posts: 11

i have run into a brick wall trying to get my form to add one field to another using a radio button

i need to add a freight charge, which has already been calculated and put into a field called "freight" and add it to a field called "PayTotal" if the "Delivery" radio button value is set to Yes.

so it would look some what like this

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

i have no experience using java before today, and my head is going to explode if i don't get some help with this, and i promise to stop filling the forums with my n00b questions.

My Product Information:
Acrobat Pro 9.0, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
So do you want this to be a calculation script for the PayTotal field, or a different field? If for PayTotal, how it its value determined if the radio button is set to No?

And don't worry about asking questions, that's why this place exists. There are also a lot of great resources here for learning more about JavaScript programming, so check them out.

George
ilikebinglee
Registered: Dec 11 2008
Posts: 11
yes, the value is to be added to the PayTotal field when the value is yes, and when it is no, nothing is added to PayTotal.