<?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: Change Apperance based on a conditional statement in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238277#M46367</link>
    <description>&lt;P&gt;Right. I usually just copy-paste IF statements around because they work in more than one type of field.&lt;/P&gt;&lt;P&gt;It hasn't been my experience for this to fail. Do you have a specific scenario, or just something you have seen from time-to-time?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 15:30:37 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2022-12-06T15:30:37Z</dc:date>
    <item>
      <title>Change Apperance based on a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238257#M46364</link>
      <description>&lt;P&gt;I am trying to change the appearance field based on a conditional statement. For example, if&amp;nbsp;selected(${more_users},"no") then set the appearance to hidden, else set it to the default value. aside from that I don't know if placing that statement on the appearance field is correct. If not please guide me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I came up with, not sure if I'm on the right path.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;if(${more_users} = "Yes", "", "hidden")&lt;/EM&gt; &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238257#M46364</guid>
      <dc:creator>JuanEsquivel</dc:creator>
      <dc:date>2022-12-06T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change Apperance based on a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238264#M46365</link>
      <description>&lt;P&gt;What you are looking for is the &lt;STRONG&gt;relevant&lt;/STRONG&gt; or &lt;STRONG&gt;body::esri::visible&lt;/STRONG&gt; fields. Just put your statement in one of those two fields.&lt;/P&gt;&lt;P&gt;E.g., &lt;STRONG&gt;&lt;EM&gt;if(selected(${more_users},'Yes'), 'yes', '')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Edit. Forgot to give a general explanation of the difference between these fields.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;STRONG&gt;General explanation&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;Relevant&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;P&gt;While hidden, a field ceases to exist.&lt;/P&gt;&lt;P&gt;E.g., User input will disappear and reset to default. Also, a field hidden by 'relevant' that is required will be ignored when submitting.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;body::esri::visible&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;While hidden, the field still exists.&lt;/P&gt;&lt;P&gt;E.g., User input will be maintained. A field hidden by 'body::esri::visible' that is required must contain data.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238264#M46365</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2022-12-06T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change Apperance based on a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238274#M46366</link>
      <description>&lt;P&gt;Actually you need a true statement, you do not use yes as the return.&amp;nbsp; Just&amp;nbsp;selected(${more_users},'Yes') does the trick.&amp;nbsp; yes is just for the user drop down but it is any true or false statement.&amp;nbsp; Using yes or '' does not always work.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238274#M46366</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-12-06T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change Apperance based on a conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238277#M46367</link>
      <description>&lt;P&gt;Right. I usually just copy-paste IF statements around because they work in more than one type of field.&lt;/P&gt;&lt;P&gt;It hasn't been my experience for this to fail. Do you have a specific scenario, or just something you have seen from time-to-time?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/change-apperance-based-on-a-conditional-statement/m-p/1238277#M46367</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2022-12-06T15:30:37Z</dc:date>
    </item>
  </channel>
</rss>

