Using payment block "quantity" in a condition

  • Profile Image
    wsrhodes
    Asked on May 31, 2017 at 05:01 PM

    My form has a payment block. There is one option which is for a set purchase of 8 tickets (a full table).When they choose this option, I am able to open up 8 fields to allow for entry of the names of the 8 people. 

    The other option has a "quantity" box (I've tried text and drop-down) that allows for purchase of 1 - 10 tickets. I want to be able to have a condition where I test the value in the quantity field to open up boxes for the additional names (2 - 10) of the people attending. However, the condition choices only let me select the "table" option or the "individual" option, but not the quantity entered.

    Is there a way to access this field in a condition?????

    Note: I can create 10 ticket entry fields (for purchasing 1 ticket, 2 tickets, 3.....) but that is really clunky.

    thanks.

  • Profile Image
    EltonCris
    Answered on May 31, 2017 at 07:00 PM

    Sorry but I am having challenges understanding the desired options you want.

    But I understand that you want to show a set of fields depending on the entered quantity in the product field. The best way to do that is to group the fields using section collapse element.

    Example:

    Then in your condition, you can do the following.

    Here's a cloned version of your form with this changes https://form.jotformpro.com/71507427776969. I only worked on ticket2 and ticket3. Feel free to try it. 

    You can also clone this form if you like so you can see how it was setup. http://www.jotform.com/help/28-Cloning-a-Form-from-a-Web-Page

    Hope this helps!

  • Profile Image
    wsrhodes
    Answered on May 31, 2017 at 07:34 PM

    I believe you are understanding correctly.   The problem was my not being able to select the "quantity" field. When I did the drop-down in the Conditional section I did NOT get what you showed on your screen print. I only got these choices and assumed that "Ticket Options" was the only field:

     

     

    But...when I looked at your cloned form I saw the additional field (un-numbered) after the "submit" field.

     

    This is the field you are referencing. So I can use this. But I am curious: Where did it come from? Why is it shown at the bottom?  Please explain.

    But knowing about this field means that you have indeed solved my problem!  THANK YOU!!!!!

  • Profile Image
    BDAVID
    Answered on May 31, 2017 at 09:41 PM

    On behalf of my colleague, you are welcome!

    Not really sure what you mean by "This is the field you are referencing. So I can use this. But I am curious: Where did it come from? Why is it shown at the bottom?  Please explain.". 

    If you need anything else, please open a new thread, we will be glad to assist you.