Conditional Logic based on qty of tickets selected

  • Profile Image
    Rotary1918
    Asked on December 05, 2017 at 10:33 AM

    Hi - 

    I'd like to add conditional logic so that when a customer selects a qty of tickets over 1, text fields appear based on the qty selected. For example - if they choose 3 tickets, I'd like 2 text fields to appear so they can enter the names of their guests.

    Is this possible?


  • Profile Image
    BJoanna
    Answered on December 05, 2017 at 11:29 AM

    You can achieve that with Hide/Show conditional logic. Quantity option of the payment product cannot be used to set conditions, but you can set the conditions based on the Total Price. You will have to pass the Total to the Form Calculation widget and the set the conditions based on the Total value. 

    1512490994calcualtion.JPG

    Hide or Show Multiple Fields at Once

    How to Show or Hide Fields Base on User's Answer

    Here is my demo form: https://form.jotform.com/73384739405969 

    Feel free to test it and clone it

    You can only hide the Form Calculation 'Total' field.

    Hope this meet what you are looking for. 

  • Profile Image
    Suzanne 
    Answered on December 05, 2017 at 12:03 PM

    Exactly what I needed - thanks so much for your help!

  • Profile Image
    BJoanna
    Answered on December 05, 2017 at 12:17 PM

    You're welcome. 

    Feel free to contact us if you have any other questions.