<?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 Prefill Question(s) in repeat with answers from previous record in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116051#M38584</link>
    <description>&lt;P&gt;Good Morning,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey form for collecting samples from buildings.&amp;nbsp; The samples are contained within a repeat ( ${repeat_samples} ).&amp;nbsp; &amp;nbsp;Within the repeat, I have fields for Building Number, Floor Number &amp;amp; Room Number.&amp;nbsp; Since multiple samples are always taken from each room, I would like NEW samples to default to the Building, Floor and Room values entered in the previous record.&amp;nbsp; This is the formula that I've tried using, but receive a dependency cycle error:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;indexed-repeat(${bldg_num}, ${repeat_samples}, position(..)-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DerrickWestoby_0-1636649248486.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27225iCD126BDF4B255DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DerrickWestoby_0-1636649248486.png" alt="DerrickWestoby_0-1636649248486.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 16:49:19 GMT</pubDate>
    <dc:creator>DerrickWestoby</dc:creator>
    <dc:date>2021-11-11T16:49:19Z</dc:date>
    <item>
      <title>Prefill Question(s) in repeat with answers from previous record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116051#M38584</link>
      <description>&lt;P&gt;Good Morning,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey form for collecting samples from buildings.&amp;nbsp; The samples are contained within a repeat ( ${repeat_samples} ).&amp;nbsp; &amp;nbsp;Within the repeat, I have fields for Building Number, Floor Number &amp;amp; Room Number.&amp;nbsp; Since multiple samples are always taken from each room, I would like NEW samples to default to the Building, Floor and Room values entered in the previous record.&amp;nbsp; This is the formula that I've tried using, but receive a dependency cycle error:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;indexed-repeat(${bldg_num}, ${repeat_samples}, position(..)-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DerrickWestoby_0-1636649248486.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27225iCD126BDF4B255DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DerrickWestoby_0-1636649248486.png" alt="DerrickWestoby_0-1636649248486.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:49:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116051#M38584</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2021-11-11T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Prefill Question(s) in repeat with answers from previous record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116156#M38585</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/140205"&gt;@DerrickWestoby&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I believe what you are seeing is expected, as you are using a calculation that references a question that uses the answer to calculate itself, hence the circular reference. This is generally an issue with &lt;EM&gt;indexed-repeat &lt;/EM&gt;functions if you use them inside the repeat that it is referring to. For the November update, we plan to update the documentation to say that using&amp;nbsp;&lt;EM&gt;indexed-repeat&lt;/EM&gt; inside a repeat it refers to is not supported.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_F3E28755416F4A6CBD7B7D900EB9EFE6" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_F3E28755416F4A6CBD7B7D900EB9EFE6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you share your XLSForm and media folder so I can take a look and see if there is a better way to do what you are trying to achieve?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 23:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116156#M38585</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-11T23:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Prefill Question(s) in repeat with answers from previous record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116158#M38586</link>
      <description>&lt;P&gt;Thanks for the response, Philip.&amp;nbsp; &amp;nbsp;I'm not attached to this specific way to accomplish the goal, just the goal itself.&amp;nbsp; If there's another way to make a question's default answer match the input from the previous record in the repeat, I'd love to hear that!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I sent you a message with my XLS as well.&amp;nbsp; Thanks for taking a look.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 23:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1116158#M38586</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2021-11-11T23:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Prefill Question(s) in repeat with answers from previous record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1117297#M38647</link>
      <description>&lt;P&gt;I have only got 1 way to work but it only works on small repeats.&amp;nbsp; See here&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/prepopulate-answers-in-a-repeat-with-last-values/m-p/1093928" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/prepopulate-answers-in-a-repeat-with-last-values/m-p/1093928&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 15:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1117297#M38647</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-11-16T15:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prefill Question(s) in repeat with answers from previous record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1117336#M38651</link>
      <description>&lt;P&gt;Thanks Doug.&amp;nbsp; I may try this in a test version of the XLS, but not too fond of the javascript implementations based on experience and if you're already reporting it struggles with large surveys.&amp;nbsp; The surveys I have in use with javascript running are much less stable already.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 17:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/prefill-question-s-in-repeat-with-answers-from/m-p/1117336#M38651</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2021-11-16T17:18:24Z</dc:date>
    </item>
  </channel>
</rss>

