Can I use If and when queries?

  • Profile Image
    Asked on April 04, 2019 at 06:25 AM

    I would like to do a calculation:  if a voucher code is entered on the form, then I would like the discount applied to the total.  

    If Voucher = "Tenzie" then Total - 50%

  • Profile Image
    Answered on April 04, 2019 at 08:33 AM

    Yes this is available as well in the Conditions tool.

    How to Insert Text or Calculation into a Field Using Conditional Logic

    You can use the Update/Calculate Field Condition type.

    On the other hand, if you are after discount of a payment, there is also the Coupon Code tool.

    How to Add Coupon Code to Payment Forms

    With the Coupon Code, you will no longer need to create calculation conditions. You can add it and just configured how the discount will be applied.

    Let us know if you need further assistance.

  • Profile Image
    Answered on April 12, 2019 at 08:19 AM

    Thank you for your assistance!  It works well!