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

  • Profile Image
    Asked on November 09, 2017 at 09: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

  • Profile Image
    Answered on November 09, 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.14

    Anyhow, this is what you have to do:

    1) Create payment field with basic fields:

    1510244282Screen Shot 2017-11-09 at 5.20

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

    1510244431Screen Shot 2017-11-09 at 5.22

    3) Add form calculation field:

    1510244512Screen Shot 2017-11-09 at 5.25  1510244559Screen Shot 2017-11-09 at 5.26

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

    1510244664Screen Shot 2017-11-09 at 5.27

    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.361510245307Screen Shot 2017-11-09 at 5.37

    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.39

    Hope it helps.

    Let us know your thoughts.

    Thank you!