Can you set the maximum number of selections a user can make from select_multiple list?

256
2
Jump to solution
05-07-2023 06:17 PM
dwold
by
Occasional Contributor II

When you have a select_multiple list question, can you limit the number of selections a user can make? I have a list of 10 choices but only want to allow the user to select a maximum of 3. Is this possible? I've enabled a text pop-up to notify the user they selected more than three choices, but they still can submit the survey.

dwold_0-1683508512139.png

dwold_1-1683508536527.png

 

 

0 Kudos
1 Solution

Accepted Solutions
IyinoluwaOjumu1
Esri Contributor

in the constraint field >>>>> count-selected(.)= (number of selections (e.g, <=5, or =5(for exact number))

 

View solution in original post

2 Replies
MobiusSnake
MVP

I think you should be able to use the same logic with the constraint and constraint_message columns to prevent them from submitting.

0 Kudos
IyinoluwaOjumu1
Esri Contributor

in the constraint field >>>>> count-selected(.)= (number of selections (e.g, <=5, or =5(for exact number))