<?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: Passing data from repeat question based on specific response in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292777#M49487</link>
    <description>&lt;P&gt;If you have a look at the &lt;EM&gt;Samples&lt;/EM&gt; in Connect, the one for &lt;EM&gt;JavaScript&lt;/EM&gt; has a use-case almost identical to what described above. The difference is that it is calculating Standard Deviation.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 19:38:53 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2023-05-24T19:38:53Z</dc:date>
    <item>
      <title>Passing data from repeat question based on specific response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292415#M49472</link>
      <description>&lt;P&gt;I've been working on Survey123 form with the repeat question. In the repeat question,&amp;nbsp;there are 2 questions namely "Scoring Criteria" and "Score". In the "Scoring Criteria" question there are the following choices: A, B and C. In the main question, there are columns "Score A", "Score B" and "Score C". I want to pass the value from the "Scoring" response in the repeat question to the "Score" field in the main question based on the selected criteria.&lt;/P&gt;&lt;P&gt;This is my XLSForm configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="The XLSform" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71513iC497AF33583D4F68/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_3.jpg" alt="The XLSform" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The XLSform&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the expected result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Expected Results" style="width: 263px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71512iFDB313E9C49ED4D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_5.jpg" alt="Expected Results" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Expected Results&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the given result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Given Results" style="width: 268px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71511i58A05EBA74C983F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_4.jpg" alt="Given Results" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Given Results&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In addition, how to prevent multiple responses be submitted based on the criteria&amp;nbsp;in the repeat question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 02:55:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292415#M49472</guid>
      <dc:creator>suhendra0812</dc:creator>
      <dc:date>2023-06-22T02:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data from repeat question based on specific response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292438#M49474</link>
      <description>&lt;P&gt;I'm not sure if you need a repeat here if you have a set of questions and a set amount of repeats. But anyway.&lt;/P&gt;&lt;P&gt;What you can do is use the below to refer to a question within a specific repeat:&lt;/P&gt;&lt;P&gt;indexed-repeat(question, repeat, index number)&lt;/P&gt;&lt;P&gt;You should also consider the repeat_count to limit the number of repeats (e.g. 3 for A, B and C).&lt;/P&gt;&lt;P&gt;You can also consider calculation modes in the bind parameters, if the calculations are not re-triggering.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 07:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292438#M49474</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-05-24T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data from repeat question based on specific response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292777#M49487</link>
      <description>&lt;P&gt;If you have a look at the &lt;EM&gt;Samples&lt;/EM&gt; in Connect, the one for &lt;EM&gt;JavaScript&lt;/EM&gt; has a use-case almost identical to what described above. The difference is that it is calculating Standard Deviation.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 19:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-data-from-repeat-question-based-on/m-p/1292777#M49487</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-05-24T19:38:53Z</dc:date>
    </item>
  </channel>
</rss>

