Using choice_filter with a select_multiple question.

3034
17
Jump to solution
07-17-2017 12:00 PM
Highlighted
New Contributor II

In my survey I have a list of structure types: Single Family, Multi Family, Other Habitable, Non Habitable, Coastal Protection, & Shore Protection. I also have a list damage types. Most damage types only apply to certain structure types. Using the choice_filter, I have been able to make it so only certain damage types appear as choices for my structure types, however this is with a select_one question type. Is it possible to have all of the damage types appear if they select more than one structure type in a select_multiple question type? 

1 Solution

Accepted Solutions
Highlighted
Esri Frequent Contributor

Hi Alex,

Currently cascading selects (choice filters) are not supported with select_multiple question types, they will only work on a select_one. A feature enhancement already exists for this issue, so I have added your request/comments to the issue.

Regards,

Phil.

View solution in original post

17 Replies
Highlighted
Esri Frequent Contributor

Hi Alex,

Currently cascading selects (choice filters) are not supported with select_multiple question types, they will only work on a select_one. A feature enhancement already exists for this issue, so I have added your request/comments to the issue.

Regards,

Phil.

View solution in original post

Highlighted
Occasional Contributor III

Philip Wilson‌, please add me to the list. I have a very similar feature need. I have a list of feature classes and a user picks a feature class on the list. The next question is a select_one which shows list of attributes of the feature class on the previous question. I'd like the second question type for the attributes to be select_multiple instead.

Highlighted
Occasional Contributor III

Philip Wilson - Me too.

In the interim I'm using select_multiple with relevant fields.

For example:

If choice A is chosen - display list_name relevant to choice A.

If choice B is chosen - display list_name relevant to choice B.

Highlighted
Occasional Contributor III

Hey there.

We have run into this problem as well - we want to use a filtered list with a select_multiple question. But, alas, that doesn't seem possible, yet

Can you provide some additional details on how you are swapping out list_name for a question based on a 'choice' as you outlined in your response?

Thank you.

Highlighted
Occasional Contributor

Hi Tom,
Another option could be to put the select into a repeat.

Instead of using a select multiple, you could use it as multiple select_one questions in the loop.

My example is recording the presence of multiple GNSS receivers, with their make and model number. instead of being able to select two manufacturers, you select one, then the subsequent model number, then add a new response to the repeat.

Not as clean as a choice_filter of course, but it seems to work for what we were after.

Regards,

Dan

Reply
0 Kudos
Highlighted
New Contributor

Tom,

Here is an example for you:

Choices tab:

list_namenamelabel
maintenanceCategoryRoutineRoutine
maintenanceCategoryRestorationRestoration
maintenanceCategoryRehabilitationRehabilitation

Survey tab:

typenamelabelrelevant
select_one maintenanceCategorymaintenance_categoryMaintenance Category
select_multiple routineWorkroutine_workRoutine Workselected(${maintenance_category}, 'Routine')
select_multiple restorationWorkrestoration_workRestoration Workselected(${maintenance_category}, 'Restoration')
select_multiple rehabilitationWorkrehabilitation_workRehabilitation Workselected(${maintenance_category}, 'Rehabilitation')

Instead of calling out a column to filter the choices following a parent selection, as you would with a 'choice_filter', you have to call out the parent selection by value.

Highlighted
Occasional Contributor II

Please add me to this list.

We really need this feature to streamline our workflow! Currently our field workers are having to scroll through a long list of options every time they create a record. Only a few of these options are relevant, based on their response to an earlier question about the asset type, but there is no way to filter the choice list for the select multiple field.

Thanks

Anneka France
GIS Analyst at The Rivers Trust
Reply
0 Kudos
Highlighted
Occasional Contributor

Hi Philip Wilson‌,

Just wondering if there has been any progress on this feature enhancement? We are another area that would very much like to be able to use the choice_filter based on a select_multiple

Regards,

Dan

Reply
0 Kudos
Highlighted
Esri Frequent Contributor

Hi Dan,

No, this feature enhancement is still in our backlog and didn't make it into the 3.5 update.

Phil.