Select to view content in your preferred language

ArcGIS Survey 123 - Single select grid validation rule issues

176
7
Jump to solution
2 weeks ago
MUrban
by
Emerging Contributor

I am doing a tutorial from My Learning in the training section to create a survey for wildlife sightings, and it says to use the Single select grid, where you can put a preset row with numbers of animals in a grid. It's saying to use validation, but when I do this, and I take the survey as a user would, it's telling me that I have to select something in every row, which of course is not correct.  

 

Thanks,

Mary

0 Kudos
1 Solution

Accepted Solutions
Neal_t_k
MVP Regular Contributor

@Suzanne-Boden in Connect table grids  are configured as separate questions and you can set validation on each row. In the web app (used for this exercise),  the single select grid is configured as a single "question" and the validation controls are applied to each grid item for the whole grid, and not individual questions within the grid.  I can't see the entire instructions, but it seems poorly worded if the all the questions are supposed to be required, and its reasonable that no animals are seen, without a way to record no sightings, or not answer the question.  In the Survey123 Community, these types of forms usually end up configured as repeats, where as @MUrban described, there is some sort of list selection for species, a number selection for sightings, and  adding another record for subsequent sittings.  I get the exercise is probably just to introduce table grids but it sounds like a better example could be used to introduce it given they way the web app handles single select grids. Maybe something like Rate your experience on: and then have each question be required.

Neal_t_k_1-1784898989032.pngNeal_t_k_2-1784899006028.png

 

View solution in original post

7 Replies
Neal_t_k
MVP Regular Contributor

@MUrban Are you using the Web interface or Connect.  If you are using Connect you can control if individual questions are required or not.  In the web interface, you can only set if the table group is required or not, meaning that every question in the table is either required or not.  To get around this you could add a 4th option of 0 or none to the list, users would have to answer every question but could indicate they saw none.

0 Kudos
MUrban
by
Emerging Contributor

I am not using Connect, I am using the web-based Survey123, and am following a tutorial that is in the ESRI training.  It's strange that they didn't test out this tutorial - I would think it's a hassle to the hypothetical survey taker to have to fill out all the rows if they wanted to report just one animal encounter. Wouldn't it be better to maybe use two separate dropdowns and not use the single select grid? You could list the animals in one and another for the number? Thanks. 

0 Kudos
AdenaSchutzberg1
Esri Regular Contributor

Are you working on the Esri Academy web course ArcGIS Survey123: Create, Share, and Analyze a Survey

AdenaSchutzberg1_0-1784807056211.png

 

0 Kudos
MUrban
by
Emerging Contributor

Yes, that's the one. It's the Author a Survey exercise about park rangers and increased visitors. 

0 Kudos
Suzanne-Boden
Esri Regular Contributor

Hi @MUrban, the terminology is a bit confusing in this exercise. In step 6, is it possible you made each question (row) required, instead of the survey question (What type of animal did you see)? That would explain the red asterisks next to each animal type and the message you're getting.

0 Kudos
Neal_t_k
MVP Regular Contributor

@Suzanne-Boden in Connect table grids  are configured as separate questions and you can set validation on each row. In the web app (used for this exercise),  the single select grid is configured as a single "question" and the validation controls are applied to each grid item for the whole grid, and not individual questions within the grid.  I can't see the entire instructions, but it seems poorly worded if the all the questions are supposed to be required, and its reasonable that no animals are seen, without a way to record no sightings, or not answer the question.  In the Survey123 Community, these types of forms usually end up configured as repeats, where as @MUrban described, there is some sort of list selection for species, a number selection for sightings, and  adding another record for subsequent sittings.  I get the exercise is probably just to introduce table grids but it sounds like a better example could be used to introduce it given they way the web app handles single select grids. Maybe something like Rate your experience on: and then have each question be required.

Neal_t_k_1-1784898989032.pngNeal_t_k_2-1784899006028.png

 

MUrban
by
Emerging Contributor

Yes, as @Neal_t_k indicates below, the validation seems to apply to the entire grid only as a whole, so you would have to come up with a different solution or workaround. 

0 Kudos