<?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 Going through all existing repeats before submitting survey in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1078172#M35854</link>
    <description>&lt;P&gt;I have a survey where I have enabled inbox to pull in existing records and the records use repeats. For example, one building may have multiple cameras on which an inspection is to be carried out.&lt;/P&gt;&lt;P&gt;The form shows that for a particular building there could be 1 of 3 cameras when a particular building is open from the inbox list, and there are relevant questions that must be answered before the form can be summitted, however, an inspector that submit the form even without going through the remaining 2 cameras in the building. How can I solve this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IniobongBenson_0-1626165862138.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18292i14AF2504F73CA170/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IniobongBenson_0-1626165862138.png" alt="IniobongBenson_0-1626165862138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been able to create a field that stores the count of cameras in each building and show it in a note using the count(${repeat_field}) but this is not enough. Is there a way to force the inspector to actually go through each repeat and answer at least the relevant question?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IniobongBenson_1-1626166952909.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18293i59FF0105C3B2CE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IniobongBenson_1-1626166952909.gif" alt="IniobongBenson_1-1626166952909.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using a join like this on the image above would probably make it work but I don't know how to implement this.&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;</description>
    <pubDate>Tue, 13 Jul 2021 09:05:08 GMT</pubDate>
    <dc:creator>IniobongBenson</dc:creator>
    <dc:date>2021-07-13T09:05:08Z</dc:date>
    <item>
      <title>Going through all existing repeats before submitting survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1078172#M35854</link>
      <description>&lt;P&gt;I have a survey where I have enabled inbox to pull in existing records and the records use repeats. For example, one building may have multiple cameras on which an inspection is to be carried out.&lt;/P&gt;&lt;P&gt;The form shows that for a particular building there could be 1 of 3 cameras when a particular building is open from the inbox list, and there are relevant questions that must be answered before the form can be summitted, however, an inspector that submit the form even without going through the remaining 2 cameras in the building. How can I solve this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IniobongBenson_0-1626165862138.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18292i14AF2504F73CA170/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IniobongBenson_0-1626165862138.png" alt="IniobongBenson_0-1626165862138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been able to create a field that stores the count of cameras in each building and show it in a note using the count(${repeat_field}) but this is not enough. Is there a way to force the inspector to actually go through each repeat and answer at least the relevant question?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IniobongBenson_1-1626166952909.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18293i59FF0105C3B2CE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IniobongBenson_1-1626166952909.gif" alt="IniobongBenson_1-1626166952909.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using a join like this on the image above would probably make it work but I don't know how to implement this.&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;</description>
      <pubDate>Tue, 13 Jul 2021 09:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1078172#M35854</guid>
      <dc:creator>IniobongBenson</dc:creator>
      <dc:date>2021-07-13T09:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Going through all existing repeats before submitting survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1079008#M35881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413127"&gt;@IniobongBenson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, you can do this using a constraint in the main layer referencing values from the repeats. Add a count in a hidden field that will check each repeat and either count a question or do a string-length &amp;gt; 0, to ensure there is an answer in that question and returns a 1.&lt;/P&gt;&lt;P&gt;Then sum or count the 1's, and if they match the number of repeats, the constraint will be met, if they do not match, it means one of the repeats is not answered. This will cause an error and the form can not be submitted.&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp;&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;for supported formulas and functions, including the newly added functions for position and indexed-repeat, which you may find useful to query each repeat for specific values.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 23:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1079008#M35881</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-07-14T23:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Going through all existing repeats before submitting survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1094188#M36860</link>
      <description>&lt;P data-unlink="true"&gt;Hey&amp;nbsp;@Anonymous User!&lt;/P&gt;&lt;P data-unlink="true"&gt;I decided to try this out as a way to make sure a user actually fills in all repeats defined by repeat_count. It works when submitting a new form via Collect, but it fails when a form is saved in Drafts and then resumed. My XLSForm is attached. Did I code it wrong? Is this a bug or an intended feature? &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-not-working-properly-after-saving/td-p/813988" target="_blank" rel="noopener"&gt;I see in this post&lt;/A&gt; that calculations don't retrigger when resuming from Drafts by design, so is that the issue?&lt;/P&gt;&lt;P data-unlink="true"&gt;Is there a solution to make sure all predefined repeats are completed that also works when resumed from Drafts? I've tried a lot of things and none of them seemed to work successfully. For example, I also tried to make one question required for all repeats, but that also failed when resuming from Draft (&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/issue-with-draft-required-field-repeat-and-repeat/m-p/1094077#M36847" target="_blank" rel="noopener"&gt;I just made a post about that here&lt;/A&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;Thanks in advance for any help!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 21:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1094188#M36860</guid>
      <dc:creator>ErikHerbergMETC</dc:creator>
      <dc:date>2021-08-31T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Going through all existing repeats before submitting survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1094270#M36870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/478410"&gt;@ErikHerbergMETC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The issue you are encountering with repeat_count and saving to Drafts is a known issue and is logged as&amp;nbsp;BUG-000127011. Unfortunately the underlying problem has yet to be resolved and won't be fixed in upcoming release, but something we are working on.&lt;/P&gt;&lt;P&gt;The only workaround in the meantime is not to use repeat_count if you need to save to Drafts, otherwise values in the repeats can not be edited or added once you open the survey from Drafts again.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 07:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/going-through-all-existing-repeats-before/m-p/1094270#M36870</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-09-01T07:08:45Z</dc:date>
    </item>
  </channel>
</rss>

