Select to view content in your preferred language

Is there a way to set time slots with a certain amount of people per each time slot?

552
1
10-04-2023 06:08 PM
TedCronin
MVP Honored Contributor

The survey we have in mind would need to have limits on the number of times a timeslot can be selected. For example, a 10:00-10:30a timeslot can only be selected 25 times and the same for a 10:30-11:00, 11:00-11:30, etc. etc.   Is this possible in Survey123 web or connect?

Tags (1)
0 Kudos
1 Reply
ZacharySutherby
Esri Regular Contributor

Hello @TedCronin

This is possible using the pulldata("@layer") function. Please see this Esri Community blog for more information. The Query a Feature Layer sample in Connect demonstrates the workflow as well. 

What you can do is query the layer the survey is pointing to to get a count of records that contain the selected timeslot. If that count is greater than 25 you can have a constraint that let's the user know the timeslot is no longer available. 

Thank you,
Zach
0 Kudos