I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • Shows 2% batt to off - what is 40% batt

    Hi all iPhone 6. Question: battery goes down kind of quickly unless 10%, it shows all of a sudden life 1 or 2%, then it turns off, naturally... When I plug, battery its at 40%. Same thing happens if I plug, but wait, it can restart... showing more ba

  • How to play .rmn files?

    I want to listen to the stories on http://www.npr.org/programs/specials/vote/list100.html .    How can I play the files .rmn on my Mac?

  • How can I get firefox to read instead of asking to download an mp3 file?

    for example here... http://dota2.gamepedia.com/Abaddon_responses ... I want to listen to one of the files, but instead, he asks me what I want to open it with. If I refresh the page a few times it works... He asks not to open it with something, but 9

  • How to remove around the Web

    How can I delete Web around the pop-up advertising malware frommy MacBook Pro.  I removed twice (I think), but it retains resurrect him.

  • Toshiba Software deactivation

    Hello I want to stop the camera Toshiba help and Toshiba button at startup, can someone please help? I have a portable Satellite Pro A200 on Vista. Cheers in advanceMatt