0 Replies Latest reply on Feb 4, 2013 1:49 PM by Monmouth University

    Javascript "if" statement help...

    Monmouth University

      Hello,

           Below is a sample of a pdf Form I created to record daily Credit Card activity for processing by Cashier's Dept.  The Credit Card Type column has a dropdown box with the various credit cards to choose from (V for Visa, M for Mastercard, etc)

           Depending on what type of CC is chosen in the dropdown field, I would like the amount in that row to be included in the correct total lines at the bottom of the form. (Total Visa, Total Mastercard, etc)

           My knowledge of Javascript is very basic so I'm not sure how to create the custom calculation script to perform this "if" statement I assume I will need.  If anyone can help, I'd appreciate it.  Many thanks.

       

      -Josephine

       

      Student IDNameExp
      Date
      AmountCVV2
      Code
      House/
      Apt. No.
      Zip
      Code
      CC
      Type
      Credit Card No.
      (Last 4 Digits)
      Total Visa CC Types:
      Total Mastercard V = Visa
      Total Discover M = Mastercard
      Total American Express D = Discover
      Grand Total CC Deposit A = American Express