5 Replies Latest reply on Jul 3, 2015 10:43 AM by dhoeky

    Help with a complex Acrobat Javascript Calculation


      I'm trying to establish an if/then calculation for an Acrobat form and it's proving to be difficult.


      The premise is that when a customer enters a quantity of 3 and have checked a box indicating a different packaging type, then a different price applies.

      I'm trying to automate that in the totals field.


      The qty fields are labels as: pre1, pre2. ... pre6

      Check box is: pre_keg

      Total qty is: text28

      total cost is: pre_cost


      reg price field is: pre_bottle_cost

      different packaging field: pre_keg_cost


      Any pointers on how to get this to work? Should it be done differently?