Conditionally/dynamically set limits for the Inventory widget.

  • Profile Image
    Asked on November 09, 2021 at 03:59 PM

    Hey everyone. We're hoping to do some complimentary ticketing through Jotform soon. We're using an Inventory Widget to make sure our registrations don't exceed our available tickets.

    Each person that registers will first be asked a question about their involvement. Based off of their response, they'll be able to register for fewer or more tickets. For instance, a staff member should be able to register for 4 tickets, while a standard volunteer should only be able to register for 2.

    Is it possible to add a conditional value to the Quantity Range in an Inventory Widget? I'd like for it to be "1-4" if they are a staff member, or "1-2" if they are a volunteer.

  • Profile Image
    Answered on November 09, 2021 at 10:15 PM


    Unfortunately it is not possible to use conditions on the Inventory options.

    A workaround for this would be to divide the tickets into Inventories, one for Volunteers and one for Musicians/Staff, for example 125 and 125 tickets each, and then show the correct Inventory depending on their choice. This way you will be able to show the correct amount of selections.

    The only drawback is that it is not possible to combine inventories, so you will have to adjust the number of available tickets manually. Let's say that 125 Volunteer tickets get sold out, and you want to allocate tickets from the Staff category; you will need to do this manually by changing the inventory amounts.

    Hopefully this makes sense. Let us know if you have any further questions.

  • Profile Image
    Answered on November 10, 2021 at 12:13 PM

    Thanks Laura. I think we're just going to add some text telling people what their limit is and then checking it after the fact to see who is breaking the rules.

    Not sure if conditional ranges would help others, but if so it could be a good feature to consider adding.



  • Profile Image
    Answered on November 10, 2021 at 03:06 PM

    Hi Jonathan,

    Kindly be informed that, unfortunately, it's not possible to conditionally/dynamically set limits for the Inventory widget.

    However, I've successfully escalated this as a feature request to our developers. Also, please note that we can not provide you with when or if this will be implemented. If there is any update, we will inform you via this support ticket.

    Should you have any further inquiries, we will be more than happy to help.