<?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: Required Field based on previous selection in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526545#M58681</link>
    <description>&lt;P&gt;No problem!&lt;/P&gt;&lt;P&gt;Unfortunately I believe expressions &lt;U&gt;cannot&lt;/U&gt; be used in the&amp;nbsp;&lt;STRONG&gt;appearance&amp;nbsp;&lt;/STRONG&gt;column which is where the collapsed or not state of a group is set up. You can set a group as visible or not using the same columns I mentioned above though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 16:13:02 GMT</pubDate>
    <dc:creator>RobertAnderson3</dc:creator>
    <dc:date>2024-08-23T16:13:02Z</dc:date>
    <item>
      <title>Required Field based on previous selection</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1525968#M58657</link>
      <description>&lt;P&gt;I am in the process of revamping and redesigning one of our more complex forms. Need to figure out if the user makes a specific selection, the following question becomes a required field.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ModernElectric_0-1724347878963.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113266i8FED2736A22E042B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ModernElectric_0-1724347878963.png" alt="ModernElectric_0-1724347878963.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the user selects one of the 3 options marked with an arrow, the OTHER (EXPLAIN) free-entry section becomes required before moving on to the next page. However, if they select reconnect, the OTHER section doesnt become required. Also, Is there a way that IF they select one of those options, that field could go from minimized to automatically maximize indicating the user needs to fill it out.&lt;/P&gt;&lt;P&gt;Yes, multiple step multi-question problem I'm working on.&lt;/P&gt;&lt;P&gt;Appreciate any feedback or assistance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 17:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1525968#M58657</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-08-22T17:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Required Field based on previous selection</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526064#M58660</link>
      <description>&lt;P&gt;Yes this is possible, you can add expressions in both the &lt;EM&gt;body::esri:visible&lt;/EM&gt; (or &lt;EM&gt;relevant&lt;/EM&gt;, but I've started to prefer the former) and &lt;EM&gt;required&lt;/EM&gt; fields.&lt;/P&gt;&lt;P&gt;In this case since it's only one option that means it should not be shown or required I would do something like&amp;nbsp;&lt;STRONG&gt;${reason}!='reconnect'&amp;nbsp;&lt;/STRONG&gt;in those two fields.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 18:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526064#M58660</guid>
      <dc:creator>RobertAnderson3</dc:creator>
      <dc:date>2024-08-22T18:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Required Field based on previous selection</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526077#M58662</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169433"&gt;@RobertAnderson3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the feedback. I was able to write the code using a select or statement in the required field. Follow-up question, if the selection is selected, is it possible for the group compact to auto expand?&lt;/P&gt;&lt;P&gt;So if the user selects structure fire, it meets the selected requirements, and the description automatically expands to the multi-line text entry making the user more aware they have more data to enter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ModernElectric_0-1724353586157.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113286iF825754EAAE5674C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ModernElectric_0-1724353586157.png" alt="ModernElectric_0-1724353586157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 19:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526077#M58662</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-08-22T19:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Required Field based on previous selection</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526545#M58681</link>
      <description>&lt;P&gt;No problem!&lt;/P&gt;&lt;P&gt;Unfortunately I believe expressions &lt;U&gt;cannot&lt;/U&gt; be used in the&amp;nbsp;&lt;STRONG&gt;appearance&amp;nbsp;&lt;/STRONG&gt;column which is where the collapsed or not state of a group is set up. You can set a group as visible or not using the same columns I mentioned above though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 16:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/required-field-based-on-previous-selection/m-p/1526545#M58681</guid>
      <dc:creator>RobertAnderson3</dc:creator>
      <dc:date>2024-08-23T16:13:02Z</dc:date>
    </item>
  </channel>
</rss>

