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

    Can I set a limit of ticket purchases to a submission?

    Asked by bevbrock on May 05, 2015 at 05:51 PM

    We have 2 options for adult ticket purchases, adult and children. I know that we can do a set number of adult and a set number of children tickets; however we do not care how many of each type of ticket is purchased only that a total of 5 tickets can be purchased per submission. Is there a way to do this?

     

    ticket purchases ticket and
  • Profile Image
    JotForm Support

    Answered by david on May 05, 2015 at 06:51 PM

    Hi,

    Unfortunately, I am not sure this is currently possible.  It is possible to limit a single field or limit the amount available of a product but I personally cannot think of a way to limit the amount to 5 between the two fields.  There is no way to validate them against each other.  Short of having multiple dropdowns shown based on the selection in the first field, this may not be possible. 

    Though it would take quite a few conditions to setup, here is a quick version of it:

    The conditions

    The form itself with the options for each field:

    http://form.jotformpro.com/form/51246690765967

    So it can be done, it would just take quite a few conditions to pull off.