Select to view content in your preferred language

External Choice List Only Allows First Option

266
4
Jump to solution
04-30-2025 12:49 PM
alseahawk
Occasional Contributor

I've got an external choice list that also has a choice filter.  The list displays properly but I it will only save the first choice in the list.  Ex.  I have a sign with three different dimensions, 30 x 30, 36 x 36, and 48 x 48.  I can see all three with either a minimal or compact appearance.  When I try to select the second or third item in the list, it reverts back to the first option.  I'm using Survey123 Connect version 3.22.49.  Has anyone ever experienced this before?

0 Kudos
1 Solution

Accepted Solutions
JenniferAcunto
Esri Regular Contributor

They all have the same name value. The name value is what is stored in your data. The system then looks up the label that corresponds with that name to display the label to the user. So it looks up the name of 'M1-1 (1 or 2)' and grabs the first associated label.

Duplicate name valuesDuplicate name values

 

You need to set up unique names for each of your unique labels. If it's important to have M1-1 (1 or 2) populate in a field whenever a user picks one of those four options, then you set up an additional field to store that value and use pulldata to populate it. In that situation your external choice list will look something like this:

Unique name valuesUnique name values

 


Use existing data in your survey - the pulldata( ) function

 

- Jen

View solution in original post

4 Replies
CodyPatterson
MVP Regular Contributor

Hey @alseahawk 

Would it be possible to link the .xls file that you use to configure the survey? I believe that's what's used when using Connect.

Cody

0 Kudos
alseahawk
Occasional Contributor

Sure, here is the xls with the external choice list.

0 Kudos
JenniferAcunto
Esri Regular Contributor

They all have the same name value. The name value is what is stored in your data. The system then looks up the label that corresponds with that name to display the label to the user. So it looks up the name of 'M1-1 (1 or 2)' and grabs the first associated label.

Duplicate name valuesDuplicate name values

 

You need to set up unique names for each of your unique labels. If it's important to have M1-1 (1 or 2) populate in a field whenever a user picks one of those four options, then you set up an additional field to store that value and use pulldata to populate it. In that situation your external choice list will look something like this:

Unique name valuesUnique name values

 


Use existing data in your survey - the pulldata( ) function

 

- Jen
alseahawk
Occasional Contributor

That worked like a charm, Thank You!  The only thing I added to your workflow was that I needed a choice filter because my choice list was based on a previous select one value.

issue_resolved.GIF

0 Kudos