Is there a way to limit the number of selections made on a checklist based on another field?

  • ITFtangsoodo
    Asked on May 20, 2016 at 3:19 PM

    For example, after someone has selected the number of events they are going to register for, I would like to limit which events they select.  If a person is going to register for 3 events, they can only select 3 events, no more.  

    Jotform Thread 843715 Screenshot
  • David JotForm Support
    Replied on May 20, 2016 at 4:15 PM

    The only way I can think of to do this would be to have a checkbox field for each of the possible number of events you will allow.  Then limit each to a specific number of selections:

    https://www.jotform.com/help/251-How-to-set-up-minimum-or-maximum-number-of-selection-on-Checkbox-Field

    And show each one depending on the number of events selected. 

    For example, if they can choose 1, 2, 3 or 4 events, you would need 4 identical checkbox fields.  One that allows 1 selection max, one that allows 2 selections max, on that allows 3 and one that allows 4.  Your conditions would be something like:

    if Number of Events is Equal to 1 Show Which events are you participating in

    The field that would be shown is the one that allows 1 selection to be made.  You would set up a similar condition for each other checkbox field.

    Other than something like that, there is no way currently to limit the number of selections allowed for a checkbox field, based on a previous selection in the form.