Can JotForm registration forms do math to determine a number of attendees?

  • jacksonfreepress
    Asked on March 4, 2016 at 4:21 PM

    I'm looking to offer conference registration forms; if the form filler chooses "4" registrations on a form, can we charge them multiples of the ticket price to Paypal?

    For instance, the form filler choose 4 registrations from a drop down, and each registration is $50; can we charge them $200 via Paypal? Or would they have to choose the number of registrations and cost from a pull-down?

    Thanks!

     

  • Boris
    Replied on March 4, 2016 at 7:01 PM

    Yes, that us achievable in two main ways.

    1. The easiest and recommended way is through the PayPal payment tool. You can set up your PayPal field directly to allow selecting multiple tickets, by adding a Quantity option to your PayPal product (the ticket):

    http://www.jotform.com/help/225-How-to-add-options-to-Payment-Forms

    Here is a demo form:

    https://form.jotformpro.com/form/60636937550966

    2. The second method is if you are using a Drop Down field somewhere else on the form to see how many registrations a person will make. In this case, the setup is slightly more involved, but isn't complicated.

    First, we should assign calculation values to each of the options in the Drop Down field you are using. As the first option in a Drop Down field is always that empty one, if your options in a Drop Down field are:

    1 ticket
    2 tickets
    3 tickets
    4 tickets

    You would assign your values as:

    0
    50
    100
    150
    200

    Next, we use a Form Calculation widget to calculate the total price based on the Drop Down field.

    Finally, we pass this value to the PayPal payment tool for payment. Note that in this method, you would have to use the Custom Amount Payments option in your PayPal field.

    Please let us know if you need any further guidance, we are here to help.