How can you limit a booking form by number of places rather than form submissions?

  • benhoddy
    Asked on August 7, 2019 at 3:33 PM

    Hello.

    We are creating a booking form which will allow people to book and pay for a limited number of spaces on a trip using PayPal.

    We would like to make the form so that a small group of people can be booked from one form submission.

    One of our fields asks for the names of each person in the booking group using the dynamic textbook widget. Then we have a form calculation which counts the number of inputs ie number of people being booked for. Another calculation can then work out the total booking price for PayPal. (number of people * ticket price)

    The challenge is limiting the number of spaces. The number of places remaining is not the same as the number of form submissions remaining for example.

    I have tried adding the inventory widget which would work but you don't seem to be able use form calculations to update the inventory field with the number of people in the booking group.  You instead need to manually increase the number to match the number of names already entered.  Seems awkward.

    Maybe there is a better way.  Any help would be great.


  • KrisLei Jotform Support
    Replied on August 7, 2019 at 5:26 PM

    Hi,

    You could use the Ticket Purchases application. This widget is a checklist of different types of tickets, with a counter that tells your form users how many tickets are available before they get sold out. In this way, you can limit the bookings at the same time, you can tell how many slots are still available.

    I hope this helps. Let us know if you need further assistance.


  • benhoddy
    Replied on August 8, 2019 at 12:53 PM

    Yeah i looked at that but couldn't see how you would 'book out' 4 tickets at once for example.

    Is there really no way to update the inventory widget field via form calculations? Thats all that is limiting this functionality for me.  It could be a fault with jotform because you can set the calculation up but it just doesn't actually work like its programmed.

    It just seems wrong to ask for the names of all member in a group and then have to ask how many member there are in the group.  I suppose you could do this the other way around but still the problem of limiting the number of places without being able to update the inventory widget via form calculations. Maybe you could look into this for me.

    Thanks

  • AndrewHag
    Replied on August 8, 2019 at 2:42 PM

    It seems only Inventory widget is the best fit for your requirement. But, it is not possible to pass the values to the widget from other form fields. User needs to enter the number manually.