<?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 Arcade Visibility expressions in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-visibility-expressions/m-p/1296609#M6225</link>
    <description>&lt;P&gt;Hello. I created a field map form river gauge reading. These readings will be collected twice a day (morning and evening) In the form I would like to restrict visibility for the evening reading input option when the morning readings are being recorded and vice versa. which expression do I need?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 11:58:37 GMT</pubDate>
    <dc:creator>KELVINKARANJA</dc:creator>
    <dc:date>2023-06-07T11:58:37Z</dc:date>
    <item>
      <title>Arcade Visibility expressions</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-visibility-expressions/m-p/1296609#M6225</link>
      <description>&lt;P&gt;Hello. I created a field map form river gauge reading. These readings will be collected twice a day (morning and evening) In the form I would like to restrict visibility for the evening reading input option when the morning readings are being recorded and vice versa. which expression do I need?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-visibility-expressions/m-p/1296609#M6225</guid>
      <dc:creator>KELVINKARANJA</dc:creator>
      <dc:date>2023-06-07T11:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Visibility expressions</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-visibility-expressions/m-p/1296633#M6226</link>
      <description>&lt;P&gt;You can return the &lt;A href="https://developers.arcgis.com/arcade/function-reference/date_functions/#hour" target="_self"&gt;Hour&lt;/A&gt; of &lt;A href="https://developers.arcgis.com/arcade/function-reference/date_functions/#now" target="_self"&gt;Now&lt;/A&gt; and if that's less than 12, make the field visible. Otherwise, it's hidden. For example, the morning field's visibility expression would look like this.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if (Hour(Now()) &amp;lt; 12) return True;
return False;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;For the evening field, you'd check if the hour was &amp;gt;= 12.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 12:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/arcade-visibility-expressions/m-p/1296633#M6226</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-06-07T12:51:47Z</dc:date>
    </item>
  </channel>
</rss>

