How do I calculate total price while using the Ticket Purchases widget?

  • TBSE
    Asked on June 18, 2017 at 12:27 PM

    If separate prices are used for each ticket type, can a person select two radio buttons, say one for regular tickets and one for VIP and the system automatically calculate the price?

    Thanks,

  • Kevin Support Team Lead
    Replied on June 18, 2017 at 1:04 PM

    It is possible to perform calculations based on the selections made on the Ticket Purchases widget, but the options need to be separately configured so each available option should be a widget. 

    How do I calculate total price while using the Ticket Purchases widget? Image 1 Screenshot 30

    The price also needs to be included in the ticket type, then the Form Calculation widget will allow to get the price once an option has been selected so you can get a total amount due. 

    How do I calculate total price while using the Ticket Purchases widget? Image 2 Screenshot 41

    Do note  that you should not use numbers on your ticket names, otherwise the number will be also counted in the calculation widget, so the price should be the only number. 

    Here is also an example about how this should work: https://form.jotformpro.com/62364965575974 

    Here is also a guide that will provide you more details about performing calculations on your form: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    Hope this helps. 

  • TBSE
    Replied on June 18, 2017 at 1:08 PM

    Where and how do I integrate STRIPE for payments once I have all of the calculation features integrated?

    Thanks,

  • David JotForm Support Manager
    Replied on June 18, 2017 at 1:18 PM

    You just need to add the Stripe payment field to your form:

    How do I calculate total price while using the Ticket Purchases widget? Image 1 Screenshot 20

    Then pass the calculation total as shown on this guide: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Let us know if you need more help, we will be glad to assist you.