<?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: Autopopulate Repeat Question Type using Values from Another Repeat Question Type in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403805#M55871</link>
    <description>&lt;P&gt;Take a look at&amp;nbsp;&lt;/P&gt;&lt;TABLE width="782px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="223.75px"&gt;&lt;P&gt;indexed-repeat(question, repeat, index number)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="347.375px"&gt;&lt;P&gt;Returns the value from a specific question in a repeat record. For more information, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_F3E28755416F4A6CBD7B7D900EB9EFE6" target="_blank" rel="noopener"&gt;Repeats&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="209.875px"&gt;&lt;P&gt;&lt;SPAN class=""&gt;indexed-repeat(${room_no}, ${floor}, 3)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 13:57:43 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2024-04-01T13:57:43Z</dc:date>
    <item>
      <title>Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403666#M55866</link>
      <description>&lt;P&gt;Hi, everyone!&lt;/P&gt;&lt;P&gt;I just want to ask if it's possible to autopopulate a repeat question type using the values from another repeat question type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, I have here 2 Repeat Question Types: Owners Declaration and Assessment. Please see the reference image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jantolihao_0-1711937166918.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99573i4722E18C5029A81E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jantolihao_0-1711937166918.png" alt="jantolihao_0-1711937166918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want to do is, I want to autopopulate the Machinery Name and Machinery Description fields in Assessment Repeat using the values from Owners Declaration Repeat. Yes, I can call/reference the fields in the calculation. However, I am having issues for multiple records in Owner Declaration Repeat. It does not properly/correspondingly autopopulate the Assessment Repeat. It just autopopulates the first "page" of the Assessment Repeat. Please see reference image below. I have 2 records in Owners Declaration Repeat but in Assessment Repeat, only 1 record is autopopulated. It seems that it only autopopulates what is currently displayed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jantolihao_1-1711937780494.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99574i82B30A1E224CC03F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jantolihao_1-1711937780494.png" alt="jantolihao_1-1711937780494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints/ideas in addressing this concern? Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 02:20:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403666#M55866</guid>
      <dc:creator>jantolihao</dc:creator>
      <dc:date>2024-04-01T02:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403768#M55869</link>
      <description>&lt;P&gt;Put the questions in the one repeat, instead of splitting them in two?&lt;/P&gt;&lt;P&gt;It's a bit difficult to understand the way you have the survey setup but I'd recommend taking a look at these:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_9F07ECB9F1C341CF8A05AF54B1B011B0" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_9F07ECB9F1C341CF8A05AF54B1B011B0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-repeats/ba-p/898041&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 12:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403768#M55869</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-04-01T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403805#M55871</link>
      <description>&lt;P&gt;Take a look at&amp;nbsp;&lt;/P&gt;&lt;TABLE width="782px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="223.75px"&gt;&lt;P&gt;indexed-repeat(question, repeat, index number)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="347.375px"&gt;&lt;P&gt;Returns the value from a specific question in a repeat record. For more information, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_F3E28755416F4A6CBD7B7D900EB9EFE6" target="_blank" rel="noopener"&gt;Repeats&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="209.875px"&gt;&lt;P&gt;&lt;SPAN class=""&gt;indexed-repeat(${room_no}, ${floor}, 3)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 13:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1403805#M55871</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-04-01T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404099#M55885</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;. Thanks for answering. However, I cannot put the questions in the same repeat since 1 repeat will only create 1 related table. The requirement is that there should be 2 related tables: 1 for Owners Declaration and 1 for Assessment. But thank you for the links.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 23:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404099#M55885</guid>
      <dc:creator>jantolihao</dc:creator>
      <dc:date>2024-04-01T23:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404101#M55886</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;. Thank you for answering. I tried this one. However, I am having issues on getting all records from one repeat then transferring/referencing them all to another repeat. Yes, we can use the floor example in indexed-repeat for specific record corresponding to specific index, say, index 3. But it seems that indexed-repeat does not cater to all records. I'm still not sure though. But thank you for the link.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 00:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404101#M55886</guid>
      <dc:creator>jantolihao</dc:creator>
      <dc:date>2024-04-02T00:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404266#M55889</link>
      <description>&lt;P&gt;You describe that there needs to be two tables (&lt;SPAN&gt;Owners Declaration and Assessment), but can they be nested? ie: Owners Declaration is table that is related to your primary feature layer, and then Assessment is related to Owners Declaration. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 05:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404266#M55889</guid>
      <dc:creator>MarikaVertzonis</dc:creator>
      <dc:date>2024-04-02T05:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404459#M55890</link>
      <description>&lt;P&gt;Try using position(..) for the current repeat record, with the indexed-repeat value.&lt;/P&gt;&lt;P&gt;e.g. indexed-repeat(${room_no}, ${floor}, position(..))&lt;/P&gt;&lt;P&gt;Theoretically this gives you the indexed-repeat value (room) from table one (floor) at the current index of the second table.&lt;/P&gt;&lt;P&gt;Haven't tried it though, and you may have issues if people change values or go back/forth a lot triggering re-calc, so would really recommend not having a split into the two tables if you can avoid it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1404459#M55890</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-04-02T10:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1405046#M55941</link>
      <description>&lt;P&gt;Thank you for the response,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2719"&gt;@MarikaVertzonis&lt;/a&gt;. Fortunately, I already addressed this concern.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 06:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1405046#M55941</guid>
      <dc:creator>jantolihao</dc:creator>
      <dc:date>2024-04-03T06:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Autopopulate Repeat Question Type using Values from Another Repeat Question Type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1405048#M55942</link>
      <description>&lt;P&gt;Hello, everyone! Update on this concern. I already addressed this concern. These are the steps that I performed:&lt;/P&gt;&lt;P&gt;1. Inserted a calculate question type that counts the entries inputted by the user in the first repeat (Owners Declaration)&lt;/P&gt;&lt;P&gt;2. The number that will be calculated in No. 1 will be placed in the Repeat Count of the second repeat (Assessment).&lt;/P&gt;&lt;P&gt;3. For the fields in the second repeat (Assessment) that will be auto-populated by the records in the first repeat (Owners Declaration), I used the combination of indexed-repeat and position (..) function in the calculation column. Please see sample calculation entry below.&lt;/P&gt;&lt;P&gt;indexed-repeat (${field name}, ${repeat name}, position(..))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you everyone for helping and for providing reference links. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 06:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autopopulate-repeat-question-type-using-values/m-p/1405048#M55942</guid>
      <dc:creator>jantolihao</dc:creator>
      <dc:date>2024-04-03T06:26:39Z</dc:date>
    </item>
  </channel>
</rss>

