How do I put a limit on my order form?

  • Profile Image
    Asked on June 19, 2017 at 05:14 PM

    I have created an order form, and in the checkbox section, I want to make sure people can only pick up to 3 options. How do i do this please?



  • Profile Image
    Answered on June 19, 2017 at 08:48 PM

    It is not possible to set the limit on the payment integration settings, but it is possible to count the number of selected items and show a message indicating when more than 3 have been selected, you could also hide the submit button so the user does not submit the form. 

    To achieve it you will need to first add the Form Calculation widget to your form: 

    Once added you will need to add the count() function and include the payment integration: 

    This guide will provide you more information about the math functions: 

    Here is an example about what the calculation widget will return: 

    This guide will also help you showing the message using a text field and/or hiding the submit button: 

    Hope this helps.