<?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: Populate Applicable Rule Violated in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1128022#M39396</link>
    <description>&lt;P&gt;Hey, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;. I appreciate the response. I actually previously implemented your plant species suggestion above on another form and it works beautifully, so thanks for that one!&lt;/P&gt;&lt;P&gt;I had the same thought, but unfortunately I don't think it'll fit the bill unless I can add additional functionality to the repeat table. The way the Word doc functions now is that it identifies what rule/statute is applicable to the violation (if X Violation then Rule 1234 applies, if Z Violation then Rule 678, etc.) and then creates a new row at the bottom of each section for each violation/description/remedy.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 15:19:40 GMT</pubDate>
    <dc:creator>BattJones</dc:creator>
    <dc:date>2021-12-21T15:19:40Z</dc:date>
    <item>
      <title>Populate Applicable Rule Violated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1127882#M39372</link>
      <description>&lt;P&gt;I'm converting a Word inspection form into Survey123 that has several sections with multiple Yes/No/NA questions each. 'No' answers relate to a rule/statute violation. The current inspection form has a bunch of VBA that plugs in the applicable rule/statute that is violated and creates a new row for a description of the violation and actions to remedy it.&lt;/P&gt;&lt;P&gt;I'm wanting to find the best way to replicate this behavior in Survey123, but am having difficulties in finding a good way to implement this. My less than ideal solution right now is a line item for each (see below). This doesn't seem super scalable/efficient as it will likely end up being 800+ rows.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;select_one (Yes/No/NA)&lt;/LI&gt;&lt;LI&gt;Note (with rule/statute number)&lt;/LI&gt;&lt;LI&gt;Text (description of violation)&lt;/LI&gt;&lt;LI&gt;Text (description of remedies)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is there a different way I can approach this? I've not found anything on if populating a repeat based on prior criteria is feasible or if JavaScript might be able to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance is greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 00:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1127882#M39372</guid>
      <dc:creator>BattJones</dc:creator>
      <dc:date>2021-12-21T00:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Applicable Rule Violated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1128018#M39395</link>
      <description>&lt;P&gt;I would have a repeat and drop down box to pick from the 800 long list with type ahead.&amp;nbsp; Then the two comments fields in the repeat also.&amp;nbsp; That way they can add any number of violations.&amp;nbsp; Having 800 yes/no questions is for sure not the way to go.&amp;nbsp; The schema would be a mess.&lt;/P&gt;&lt;P&gt;If they want a summary page of all violations at the end that is easy enough to do with a join.&lt;/P&gt;&lt;P&gt;Same basic idea as my species list form below.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adding Species.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30149i09D9925667358B4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adding Species.gif" alt="Adding Species.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 15:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1128018#M39395</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-12-21T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Applicable Rule Violated</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1128022#M39396</link>
      <description>&lt;P&gt;Hey, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;. I appreciate the response. I actually previously implemented your plant species suggestion above on another form and it works beautifully, so thanks for that one!&lt;/P&gt;&lt;P&gt;I had the same thought, but unfortunately I don't think it'll fit the bill unless I can add additional functionality to the repeat table. The way the Word doc functions now is that it identifies what rule/statute is applicable to the violation (if X Violation then Rule 1234 applies, if Z Violation then Rule 678, etc.) and then creates a new row at the bottom of each section for each violation/description/remedy.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 15:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-applicable-rule-violated/m-p/1128022#M39396</guid>
      <dc:creator>BattJones</dc:creator>
      <dc:date>2021-12-21T15:19:40Z</dc:date>
    </item>
  </channel>
</rss>

