<?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 Re: Dynamic Choice_Filter Created From Repeat Select_One Question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014114#M31773</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;Thank you very much for your suggestion.&amp;nbsp; It does exactly what I need it to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I figured it sounded weird to use the same values that were already chosen, but makes sense with how this survey is setup.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 21:55:14 GMT</pubDate>
    <dc:creator>RalphPlummer</dc:creator>
    <dc:date>2021-01-05T21:55:14Z</dc:date>
    <item>
      <title>Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014092#M31768</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have searched high and low for months regarding what I am attempting to accomplish.&amp;nbsp; I have finally decided to post a question first, and if it is not possible, will post it as an idea.&amp;nbsp; I'll do my best to describe what I am trying to do.&lt;/P&gt;&lt;P&gt;I have a repeat select_one question that pulls from a list in the choices tab.&amp;nbsp; In a separate select_one question outside of the repeat, which pulls from the same choice list, I want it to be filtered based on the values from the repeat select_one question.&amp;nbsp; For example, if the choice list values are 1 thru 10, and only the values of 4, 5, and 6 were selected in the repeat question, the separate select_one question choice list would only have 4, 5, and 6 from which to choose.&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp; Any ideas on how one would accomplish this?&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 20:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014092#M31768</guid>
      <dc:creator>RalphPlummer</dc:creator>
      <dc:date>2021-01-05T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014102#M31769</link>
      <description>&lt;P&gt;First I would wonder why you need a pick list if you already know the 3 values, just fill them in as text.&amp;nbsp; But I am guessing there is a reason.&lt;/P&gt;&lt;P&gt;I had a coworker come up with a funky way.&amp;nbsp; For us the lists were 6,000+ so this got to slow, but it did work.&lt;/P&gt;&lt;P&gt;Add a calculate field that does a join of all the choices from your repeat.&lt;/P&gt;&lt;P&gt;Field name =&amp;nbsp;SpeciesListJoin&amp;nbsp; calculation is&amp;nbsp;&amp;nbsp;join(",",${AddPlants})&lt;/P&gt;&lt;P&gt;Then use this list in the choice filter of your other question&lt;/P&gt;&lt;P&gt;Field type&amp;nbsp;select_one_from_file itemsets.csv&amp;nbsp; choice filter regex(${SpeciesListJoin}, name)&lt;/P&gt;&lt;P&gt;Hope that helps - I am still not really sure how it works but it seems to.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 21:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014102#M31769</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-01-05T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014114#M31773</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;Thank you very much for your suggestion.&amp;nbsp; It does exactly what I need it to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I figured it sounded weird to use the same values that were already chosen, but makes sense with how this survey is setup.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 21:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014114#M31773</guid>
      <dc:creator>RalphPlummer</dc:creator>
      <dc:date>2021-01-05T21:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014684#M31803</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The solution works great but I have run into a snag and am wondering if you may have an idea of why it is doing what it is doing. The numbers to which I was referring are several lists of decimals. Having one just type in the numbers is not an option because the decimal has to be exact for an external lookup in a csv file. That csv file is derived from an engineering book with complex calculations. Forcing a set list from that book removes errors and complications.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The problem that exists when I choose a value that has 3 decimals. For example, 2.625, or 2 5/8. If in my first select_one repeat I choose 2.5, 2.625, and 3, the join(",",${name}) works flawlessly, giving me said choices. But under the next select_one question, my list will have 2.5, 2.625, 3, and 6.5. What I have gathered is that the regex(${name}, name) is taking that .625 and recognizing it as 6.5. It happens with .375 and .875 as well, adding 3.5 and 8.5 respectively. See images below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join list.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3374i0EE9C76646631106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="join list.PNG" alt="join list.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="regex list.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3375i4DE40001C4ECF1D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="regex list.PNG" alt="regex list.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any explanation as to why it is being recognized as such?&amp;nbsp; Am I screwed? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 16:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014684#M31803</guid>
      <dc:creator>RalphPlummer</dc:creator>
      <dc:date>2021-01-07T16:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014737#M31805</link>
      <description>&lt;P&gt;Yes I have seen this.&amp;nbsp; It is because the . is a special char that means current field.&amp;nbsp; You can use it in constraints like .&amp;gt;0.&amp;nbsp; The trick is to make sure all of your values start with a 0.&amp;nbsp; So do 0.625 instead of .625.&lt;/P&gt;&lt;P&gt;Hope that works for ya.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 17:34:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014737#M31805</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-01-07T17:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014760#M31808</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;I figured it was the decimal causing issues, but after much testing determined it was both the decimal and numbers over one digit causing an issue.&amp;nbsp; So I kept at it and found a solution.&amp;nbsp; It might not be the best, but it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created another column in the choices tab called "text", and concatenated an A to the front of the value in the name column, and a B at the end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I added another field in the survey that concatenates the A and B to the select_one answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I changed the calculate field with the formula join(",", ${select_one}) to the field that does the concatenation.&amp;nbsp; So if I were to select 2.625 and 3.625, the join list would look like "A2.625B, A3.625B".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I changed the regex(${name}, name) to regex(${name}, text).&lt;/P&gt;&lt;P&gt;It's probably better explained by looking at the pictures below.&amp;nbsp; This is a simple survey I created to test before putting it in my real one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="survey_tab.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3394i449FE11720A12274/image-size/large?v=v2&amp;amp;px=999" role="button" title="survey_tab.PNG" alt="survey_tab.PNG" /&gt;&lt;/span&gt;  &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="choice_tab.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3395i14183FF8BDE1A184/image-size/medium?v=v2&amp;amp;px=400" role="button" title="choice_tab.PNG" alt="choice_tab.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 18:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1014760#M31808</guid>
      <dc:creator>RalphPlummer</dc:creator>
      <dc:date>2021-01-07T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1015676#M31856</link>
      <description>&lt;P&gt;That special char of a \ may be your issue?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 19:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1015676#M31856</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-01-11T19:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1350665#M52917</link>
      <description>&lt;P&gt;Just building on this - is there a way to invert this approach?&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if the user selects 4,5,6, how do I display 1,2,3,7,8,9,10?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to regex(not(${hole_join}))?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 07:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1350665#M52917</guid>
      <dc:creator>GuyWeerasingheAFF</dc:creator>
      <dc:date>2023-11-17T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Choice_Filter Created From Repeat Select_One Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1350692#M52919</link>
      <description>&lt;P&gt;Ignore - gave it a test - it would be "not(regex(${hole_join}, name))&lt;/P&gt;&lt;P&gt;Seems to work!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 10:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/dynamic-choice-filter-created-from-repeat-select/m-p/1350692#M52919</guid>
      <dc:creator>GuyWeerasingheAFF</dc:creator>
      <dc:date>2023-11-17T10:41:43Z</dc:date>
    </item>
  </channel>
</rss>

