Select to view content in your preferred language

Using an external choice list with a choice filter in the web form on a select multiple - list not populating

1462
10
08-15-2024 10:53 AM
MeganEngel
Frequent Contributor
 

I'm having trouble with a Survey123 web form where a "select_multiple" question uses an external choice list and a choice filter. The list isn't appearing in the web form, though it works fine in Survey123 Connect.

What I've Tried:

  • XLSForm Check: All references and filter logic seem correct.
  • Browser Testing: The issue persists across different browsers
  • Mobile App: Works as expected
  • Connect Test: The list appears without issues in Survey123 Connect.

Questions:

  1. Is there a known issue with this setup in web forms?
  2. Any workarounds or solutions to make the list appear correctly?

Thanks for any advice!

0 Kudos
10 Replies
abureaux
MVP Frequent Contributor

No limitations.  There may be wrong with the CSV. Any chance you can share it here?

Here is an external select_multiple I did as a test. This CSV as ~1300 choices and it displays fine in web.

abureaux_0-1723747490802.png

(name list, so names censored. I know this isn't a lot to go off of, but trust me when I say it's a working External Select in web!)

 

0 Kudos
JacobCabral
Emerging Contributor

Hello!

The survey and associated external lists are attached below. Any feedback would be greatly appreciated!

Thank you

0 Kudos
abureaux
MVP Frequent Contributor

Still publishing.

But before it even finishes, I will say the issue is with the CSVs. Your column names are incorrect. Your first two need to be "name" and "label", just like the "choices" tab in the XLSX

0 Kudos
abureaux
MVP Frequent Contributor

Went through the files. Found these couple items:

  • Don't use "reserved" names. It causes a bunch of issues which can become especially prevalent once published.
    abureaux_0-1724682670220.png
  • External Choice Lists need to have the "name" and "label" column to work properly (same idea as the "choices" tab of the XLSX).

 

Missing fieldinfo.csv, which I believe is the main drop-down you were having issues with. Also missing producerinfo.csv, which is used to filter fieldinfo later on (I just removed that filter). I used a copy of idnumbers_media(1).csv for now. I also cleared the relevant column just to make testing easier. The list worked as expected (obviously the wrong list due to limitations above):

abureaux_1-1724683340126.png

I would check the format of the CSVs, and replace that reserved name within the XLSX. Give it another try after that and hopefully it works.

JacobCabral
Emerging Contributor

Hello Abreux, 

Fantastic, thank you for the suggestions! I'm going to try these immediately.

0 Kudos
abureaux
MVP Frequent Contributor

No worries! Hopefully the column names is all that's really wrong.

0 Kudos
JacobCabral
Emerging Contributor

Also my apologies, I changed the names of the CSVs from the originals and forgot the Survey XLSX called the wrong names. My fault on that.

0 Kudos
JacobCabral
Emerging Contributor

Made all the edits you suggested plus changes to the linked content and everything seems to work. Thank you again!

0 Kudos
abureaux
MVP Frequent Contributor

Fantastic news!

0 Kudos