What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

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

    Asked by TBSE 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?


  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 18, 2017 at 01: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. 

    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. 

    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. 

  • Profile Image

    Answered by TBSE on June 18, 2017 at 01:08 PM

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


  • Profile Image
    JotForm Support

    Answered by BDAVID on June 18, 2017 at 01:18 PM

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

    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.