Survey 123 Cascading Selects - Normalise Options

2961
11
05-30-2017 08:51 PM
CallumSmith2
Occasional Contributor

Hi 

Please consider the following scenario for Survey 123 Cascading Selects.

Question 1 

Category with 2 options A, B

Question 2

Group with 4 options 1, 2, 3, 4

If the user selects A for question 1 then the valid options are 1, 2, 3 for Question 2

If the user selects B for question 1 then the valid options are 2, 3, 4 for Question 2

I know this can be done with cascading selects but the "entries" for 2 and 3 have to be duplicated like this

list_namenamelabelcategory

category

AA
categoryBB
group11A
group22A
group33A
group22B
group33B
group44B

It would be nice if this could be achieved without having to duplicate the options for the group question? i.e. Normalised. Is this possible?

E.G.

list_namenamelabelcategory
categoryAA
categoryBB
group11A
group22A,B
group33A,B
group44B

How do we allow the options for the group to be allowed in 2 (or more) categories?

cheers

Callum

0 Kudos
11 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Callum,

Thanks for the problem description.  The main issue is that at this time, the choice_filter currently doesn't support functions, which would be able to accomplish this.  I've added this comment to the enhancement request to address that.

CallumSmith2
Occasional Contributor

Thanks James

0 Kudos
DavidRebot
New Contributor II

Any update on this?

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi David,

As of yet, there's no update for the mobile app.  The new webform does support functions within choice lists, if your survey is appropriate for the web.

james

0 Kudos
AndrewHansford
Occasional Contributor II

Hi there,

With the latest updates to Survey123, is this now possible?

Cheers

Andrew

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Andrew,

No this feature has not yet been implemented into the Survey123 app.

AndrewHansford
Occasional Contributor II

JTedrick-esristaff‌ Thats a real shame. do you know of a decent work around? Thanks

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Andrew,

Take a look at or_other and choice_filter and https://community.esri.com/thread/208453-xlsform-issue  - both of these show how a choice_filter can support a value that can be filtered by more than one previous choice.

AndrewHansford
Occasional Contributor II

Hi JTedrick-esristaff‌ just wondering is this only usable with select one not multiple? Thanks

0 Kudos