How to ensure payment quantity matches no of people registered for event?

  • Stepbysteppartnership
    Asked on November 9, 2017 at 9:54 AM

    Hi there,

    We are having an issue with a form we have created to register individuals to an event. Is there a way to apply a condition that requires the quantities in the payment option, to match the number of individuals registered to the event.

    We capture the number of individuals they are wishing to register individually elsewhere in the form, and want to ensure that if a team of 3 are signing up, there has to be a total quantity of 3 in the payment options before they proceed to payment.

    Thank you

  • Nik_C
    Replied on November 9, 2017 at 11:36 AM

    Unfortunately, it is not possible to do such conditional checking with payment field.

    But there is a workaround, I assume that below QTY fields have to be 3 in total?

    1510243914Screen Shot 2017 11 09 at 5 Screenshot 10

    Anyhow, this is what you have to do:

    1) Create payment field with basic fields:

    1510244282Screen Shot 2017 11 09 at 5 Screenshot 21

    2) Assign calculation values to checkbox fields, that will be the price:

    1510244431Screen Shot 2017 11 09 at 5 Screenshot 32

    3) Add form calculation field:

    1510244512Screen Shot 2017 11 09 at 5 Screenshot 43  1510244559Screen Shot 2017 11 09 at 5 Screenshot 54

    4) And then you can pass that field to payment:

    1510244664Screen Shot 2017 11 09 at 5 Screenshot 65

    5) Finally, you can do this:

    Add one number field where you will calculate a total of Quantity:

    1510245296Screen Shot 2017 11 09 at 5 Screenshot 761510245307Screen Shot 2017 11 09 at 5 Screenshot 87

    Then you can create a condition that will show certain message and/or hide submit button if QTY is not equal to three:

    1510245371Screen Shot 2017 11 09 at 5 Screenshot 98

    Hope it helps.

    Let us know your thoughts.

    Thank you!