What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How do I put a limit on my order form?

    Asked by basicbeautybox 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?

    Thanks!

    Shan

    Page URL:
    https://form.jotformeu.com/71685696084370

  • Profile Image
    JotForm Support

    Answered by Kevin_G 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: https://www.jotform.com/help/267-Form-Calculation-Math-Function-Reference 

    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: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    Hope this helps.