How to calculate a discount using Form calculation widget?

  • toakenspy
    Asked on August 8, 2017 at 2:15 PM

    Hi. I am trying to build a quote form and offer a discount to the customer after completing the quote Is there a way I cn do this using the form calculation widget. i.e, a total is generated using the calculator, but i want the customer to be able to choose one of our offers and have the calculator automatically deduct it from the original generated amount. Thanks.

  • Nik_C
    Replied on August 8, 2017 at 2:58 PM

    I'm not sure how the discount should be calculated.

    You can use the field you added for calculating it:

    How to calculate a discount using Form calculation widget? Image 1 Screenshot 20

    And simply deduct the price. But, what defines the discount, if you can give us an example, we could certainly help you?

    We'll wait for your response.

    Thank you!

  • toakenspy
    Replied on August 8, 2017 at 3:14 PM

    Thanks for your reply.

    I want to offer a 10% discount to those who pay a 20% deposit when booking, and a 20% discount when paying in full when booking which will be 20% of the price calculated in the first box, s I wanted the second box to take the quote price, discount it by either offer the customer chooses 

    Hope my explanation makes sense.

    Gordon

  • Nik_C
    Replied on August 8, 2017 at 3:44 PM

    Thank you for additional information. 

    I understand what you're trying to do, I just wasn't sure how they choose if they will pay full or deposit.

    So I decided to create something like this:

    1) I added three short text fields for calculation purposes (those can be hidden) and one radio button:

    How to calculate a discount using Form calculation widget? Image 1 Screenshot 60

    How to calculate a discount using Form calculation widget? Image 2 Screenshot 71

    2) Then I created these conditions:

    How to calculate a discount using Form calculation widget? Image 3 Screenshot 82

    How to calculate a discount using Form calculation widget? Image 4 Screenshot 93How to calculate a discount using Form calculation widget? Image 5 Screenshot 104

    Those calculations can be passed to Payment field later for processing.

    Could that work for you?

    Please check my cloned version of your form as well: https://form.jotformpro.com/72196100386959