3 Replies Latest reply on Nov 17, 2017 3:50 PM by Thom Parker

    Custom If Then Calculation using Radio Button

    traciw0430

      I'm using Acrobat XI Pro. I need to create a custom if/then calculation in a "Total" text box that adds the value of 5 text fields if a certain radio button is checked and just copies down the subtotal if another radio button is checked.  For example:

       

      Subtotal = 25000

      Fee 1 = 100

      Fee 2 = 200

      Fee 3 = 50

      Fee 4 = 25

      Total = ???

       

      If button option 1 is selected, Total = sum of Subtotal + Fee 1 + Fee 2 + Fee 3 + Fee 4

      If button option 2 is selected, Total  = Subtotal and a statement in a different text box appears stating "All fees to be paid separately."

       

      I am a JavaScript novice and have no real knowledge of how the script should come together.  Any help would be greatly appreciated.