<?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: Accessing values from a repeated select_one question outside of the repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844172#M21725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm not a JS developer so coding around this issue isn't an option for me. I hope this bug can be addressed in a future release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2020 18:40:19 GMT</pubDate>
    <dc:creator>AllisonMuise2</dc:creator>
    <dc:date>2020-08-07T18:40:19Z</dc:date>
    <item>
      <title>Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844168#M21721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a survey&amp;nbsp;with&amp;nbsp;a repeat that contains a select_one question and a read-only text question with a calculation to look up and store the description of the selected choice. Outside the repeat I have another read-only text field where I am joining together all the choice descriptions into a paragraph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the repeat count is set to 1, everything works as expected. If the repeat count is set to 2, the choice description value is getting calculated twice. If the repeat count is set to 3, the description value is calculated three times, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&amp;nbsp;if i set the repeat count to 3 and choose the value 'one' (label: 'One') for the first repeat, 'two' (label: 'Two') for the second repeat, and 'three' (label: 'Three') for the third repeat, I expect that my final paragraph will read 'One Two Three'. Instead, the text strings within the repeat are getting calculated once for every repeat so that the final paragraph reads 'OneOneOne TwoTwoTwo ThreeThreeThree'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The survey is built using Connect v3.9.120 and I am accessing it using the web form. I am using &lt;EM&gt;jr:choice-name(${stringval}, '${stringval}')&lt;/EM&gt; to retrieve the choice description and &lt;EM&gt;join(" ",${domainval})&lt;/EM&gt; to concatenate the repeat strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XLSX and screenshot attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the direction of how to retrieve a single copy of each choice description regardless of the number of repeats?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cc &lt;A href="https://community.esri.com/migrated-users/3966"&gt;Ismael Chivite&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 18:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844168#M21721</guid>
      <dc:creator>AllisonMuise2</dc:creator>
      <dc:date>2020-06-12T18:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844169#M21722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allison,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay in response. &amp;nbsp;The issue you describe in the webform is being researched into; at this point it appears to be a known issue in repeat behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 22:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844169#M21722</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-08-05T22:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844170#M21723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions for how I can work around this in the meantime? I went looking for ways that I could slice up the final string to get the desired paragraph, but didn't see anything obvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 02:29:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844170#M21723</guid>
      <dc:creator>AllisonMuise2</dc:creator>
      <dc:date>2020-08-06T02:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844171#M21724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allison,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have a specific workaround, but it may be possible to create a workaround using the new javascript capability - take a look at&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2020/08/07/extending-survey123-smart-forms-with-custom-js-functions"&gt;Extending Survey123 smart forms with custom JS functions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 18:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844171#M21724</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-08-07T18:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844172#M21725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm not a JS developer so coding around this issue isn't an option for me. I hope this bug can be addressed in a future release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 18:40:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/844172#M21725</guid>
      <dc:creator>AllisonMuise2</dc:creator>
      <dc:date>2020-08-07T18:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing values from a repeated select_one question outside of the repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/1002478#M31149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/216925"&gt;@AllisonMuise2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;FYI, the issue has been fixed in the web app in our &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/what-s-new-in-survey123-october-2020/ba-p/895674" target="_self"&gt;October release&lt;/A&gt;&amp;nbsp;, you can have a try and please let us know if you still observe any issue.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 10:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accessing-values-from-a-repeated-select-one/m-p/1002478#M31149</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2020-11-18T10:40:30Z</dc:date>
    </item>
  </channel>
</rss>

