<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic choice_filter and external choice list in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089682#M36550</link>
    <description>&lt;P&gt;I am struggling to implement the choice_filter in Connect while referencing a csv file.&lt;/P&gt;&lt;P&gt;As shown below, I have a County question that will then cascade select for the Township question. If I don't have a choice_filter the Townships will show up in my survey, so I know I got the csv linked correctly.But I cannot get it to work with the choice_filter included. My "county" column in the township.csv file is not being recognized. In the screenshot posted, my survey is opened on the left. I have the counties in the Choices tab of the survey since there are only 87 of them. However, since there are thousands of townships I added them to an excel sheet and exported as csv. I have three columns for the csv: 'name', 'label', and 'county'. If I am understanding the below article correctly, then what I have should work, but the article only talks about having all of your choices in the survey or having them all in a linked csv. What I could not find in the article is what the csv is supposed to look like in order to create the "link" between the county selected and the townships displayed.&lt;/P&gt;&lt;P&gt;side note: I only have some of the counties filled in within the townships.csv file because it is going to take some time to reference all of them and I wanted to see if it would work first.&lt;/P&gt;&lt;P&gt;I feel like I am missing something really simple...&lt;/P&gt;&lt;P&gt;This is the article I am working off of: &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; choice_filter&lt;/P&gt;&lt;TABLE width="642px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="190px"&gt;select_one location_county&lt;/TD&gt;&lt;TD width="186px"&gt;location_county&lt;/TD&gt;&lt;TD width="206px"&gt;&amp;lt;i&amp;gt;County:&amp;lt;/i&amp;gt;&lt;/TD&gt;&lt;TD width="60px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="190px"&gt;select_one_from_file townships.csv&lt;/TD&gt;&lt;TD width="186px"&gt;townships&lt;/TD&gt;&lt;TD width="206px"&gt;&amp;lt;i&amp;gt;Township/Unorganized Territory:&amp;lt;/i&amp;gt;&lt;/TD&gt;&lt;TD width="60px"&gt;selected(${county}, county)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 17:26:34 GMT</pubDate>
    <dc:creator>hsem_sturgill</dc:creator>
    <dc:date>2021-08-17T17:26:34Z</dc:date>
    <item>
      <title>choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089682#M36550</link>
      <description>&lt;P&gt;I am struggling to implement the choice_filter in Connect while referencing a csv file.&lt;/P&gt;&lt;P&gt;As shown below, I have a County question that will then cascade select for the Township question. If I don't have a choice_filter the Townships will show up in my survey, so I know I got the csv linked correctly.But I cannot get it to work with the choice_filter included. My "county" column in the township.csv file is not being recognized. In the screenshot posted, my survey is opened on the left. I have the counties in the Choices tab of the survey since there are only 87 of them. However, since there are thousands of townships I added them to an excel sheet and exported as csv. I have three columns for the csv: 'name', 'label', and 'county'. If I am understanding the below article correctly, then what I have should work, but the article only talks about having all of your choices in the survey or having them all in a linked csv. What I could not find in the article is what the csv is supposed to look like in order to create the "link" between the county selected and the townships displayed.&lt;/P&gt;&lt;P&gt;side note: I only have some of the counties filled in within the townships.csv file because it is going to take some time to reference all of them and I wanted to see if it would work first.&lt;/P&gt;&lt;P&gt;I feel like I am missing something really simple...&lt;/P&gt;&lt;P&gt;This is the article I am working off of: &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; choice_filter&lt;/P&gt;&lt;TABLE width="642px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="190px"&gt;select_one location_county&lt;/TD&gt;&lt;TD width="186px"&gt;location_county&lt;/TD&gt;&lt;TD width="206px"&gt;&amp;lt;i&amp;gt;County:&amp;lt;/i&amp;gt;&lt;/TD&gt;&lt;TD width="60px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="190px"&gt;select_one_from_file townships.csv&lt;/TD&gt;&lt;TD width="186px"&gt;townships&lt;/TD&gt;&lt;TD width="206px"&gt;&amp;lt;i&amp;gt;Township/Unorganized Territory:&amp;lt;/i&amp;gt;&lt;/TD&gt;&lt;TD width="60px"&gt;selected(${county}, county)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 17:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089682#M36550</guid>
      <dc:creator>hsem_sturgill</dc:creator>
      <dc:date>2021-08-17T17:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089695#M36554</link>
      <description>&lt;P&gt;Looks like the name of your field is&amp;nbsp;&lt;SPAN&gt;location_county&lt;/SPAN&gt; but you say county for some reason here&amp;nbsp;&lt;SPAN&gt;selected(${county}, county).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prob want&amp;nbsp; selected(${location_county}, county)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 18:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089695#M36554</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-08-17T18:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089705#M36556</link>
      <description>&lt;P&gt;That worked! I thought the article was telling me to reference the column name from my townships.csv file, which is "county" for both parts of the formula. It had me real confused.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; for whatever reason Survey123 Connect desktop app does not want to pull data from the external csv when doing a choice_filter. I had to upload the survey and open it in the Survey123 app to get it to work.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 18:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089705#M36556</guid>
      <dc:creator>hsem_sturgill</dc:creator>
      <dc:date>2021-08-17T18:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089708#M36557</link>
      <description>&lt;P&gt;Make sure your connect is up to date is my guess.&amp;nbsp; from_file is newish&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 18:36:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089708#M36557</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-08-17T18:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089716#M36559</link>
      <description>&lt;P&gt;I just started on this stuff two months ago, and is when I installed Connect. Just tried uninstalling and reinstalling. Still does not work for me. Not a big deal, except I kept thinking I was screwing something up with my formula until I tried it outside of Connect...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 18:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089716#M36559</guid>
      <dc:creator>hsem_sturgill</dc:creator>
      <dc:date>2021-08-17T18:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089727#M36561</link>
      <description>&lt;P&gt;Hmm something else may be off then.&amp;nbsp; It townships.csv in the media folder?&amp;nbsp; And it is all lowercase file name?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089727#M36561</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-08-17T19:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089731#M36562</link>
      <description>&lt;P&gt;Yes to both. What I found strange is that when I get rid of the choice_filter then the townships will populate in the Connect app (they just won't be filtered obviously). But when I have the filter then the list is blank. And I did select a county that has townships tied to it in my file. It all works fine though in the Survey123 App.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1089731#M36562</guid>
      <dc:creator>hsem_sturgill</dc:creator>
      <dc:date>2021-08-17T19:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1104964#M37859</link>
      <description>&lt;P&gt;I am having the same issue&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/512341"&gt;@hsem_sturgill&lt;/a&gt;&amp;nbsp;. Were you able to find the problem?&lt;BR /&gt;&lt;BR /&gt;When I have a choice_filter added the list is blank, when I remove the choice_filter the list is populated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1104964#M37859</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2021-10-05T20:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1104982#M37860</link>
      <description>&lt;P&gt;Post the form so we can help.&amp;nbsp; It is often a case sensitivity issue.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1104982#M37860</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-10-05T20:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1264150#M47800</link>
      <description>&lt;P&gt;Having this exact issue in newer versions of Connect as well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 20:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1264150#M47800</guid>
      <dc:creator>ErinMara</dc:creator>
      <dc:date>2023-03-03T20:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: choice_filter and external choice list</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1374072#M54268</link>
      <description>&lt;P&gt;The dependent field does not populate with values until the first, valid field value has been selected. If you are using a pull down (minimal type) then it will not even look like a pull down at first. It will look read only. Once the valid value is selected then it will switch to looking like a pull down with values.&lt;/P&gt;&lt;P&gt;The value entered into the first field must match to a value in your choices. There doesn't seem to be app validation for this. It doesn't tell you that a value is invalid. The dependent field just doesn't do anything.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a situation where values in the choices csv were being filled from a script as doubles but I did not know it and assumed they were int values. I was entering int (non-decimal) values in the primary field of the survey so was never going to have a match. You may have gotten used to looking at the xlsform in Excel as I did. However, opening the choices csv in Excel auto-formatted the double value to appear as an int. Not helpful. Opening the csv in a text editor may show you a type mis-match.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 19:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/choice-filter-and-external-choice-list/m-p/1374072#M54268</guid>
      <dc:creator>AshneyDaniel</dc:creator>
      <dc:date>2024-01-24T19:45:48Z</dc:date>
    </item>
  </channel>
</rss>

