<?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: Survey123 date field constraints in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876592#M29432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay in response. &amp;nbsp;The today() function stores a value representative of local 12:00 noon for the date in question (refer to the function table in &lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;). &amp;nbsp;If you are trying to compare a whole date, I would suggest using format-date() to extract the day, month and year components and compare with the day, month and year of the date you are comparing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2020 23:05:30 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2020-08-05T23:05:30Z</dc:date>
    <item>
      <title>Survey123 date field constraints</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876591#M29431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a &lt;STRONG&gt;Survey123 form in production for reporting wildfires&lt;/STRONG&gt; and other incidents responded to by NJ Forest Fire Service firefighters. &lt;STRONG&gt;To avoid entry of future dates, a constraint was set&lt;/STRONG&gt; for various date fields. See the formula being used in the image below, which is identical for all date fields being constrained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="constraint formula to invalidate dates beyond today" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/497516_GeoNet_dateConstraint.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since implementing the form with the constraint, users have sometimes been &lt;STRONG&gt;unable to submit the form when today’s date is chosen&lt;/STRONG&gt;. The issue seems to be occurring randomly. Within the form, some fields will be rejected with today’s date while others are accepted, despite the constraint formula being identical for all fields. Some users experience a successful submittal, but only after saving the survey to Drafts first, and submitting from Drafts immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users are utilizing Samsung Tab S4s and Dell laptops for data collection. To troubleshoot, I confirmed most recent versions of the Survey123 form and Android/Desktop apps are being used. We would like to keep this constraint but will have to remove it if the issue cannot be resolved, as &lt;STRONG&gt;it is delaying the reporting&amp;nbsp;of emergency responses&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance for your help!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 20:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876591#M29431</guid>
      <dc:creator>E_-_MarieCook__GISS_</dc:creator>
      <dc:date>2020-06-22T20:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 date field constraints</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876592#M29432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay in response. &amp;nbsp;The today() function stores a value representative of local 12:00 noon for the date in question (refer to the function table in &lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;). &amp;nbsp;If you are trying to compare a whole date, I would suggest using format-date() to extract the day, month and year components and compare with the day, month and year of the date you are comparing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 23:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876592#M29432</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-08-05T23:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 date field constraints</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876593#M29433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;No worries, James! Thank you.&amp;nbsp;That makes sense. We will give that a try.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 19:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/876593#M29433</guid>
      <dc:creator>E_-_MarieCook__GISS_</dc:creator>
      <dc:date>2020-08-10T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 date field constraints</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/1205864#M44446</link>
      <description>&lt;P&gt;We have users experiencing the same issues.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/199412"&gt;@E_-_MarieCook__GISS_&lt;/a&gt;&amp;nbsp; did James' suggestion resolve your issue?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-date-field-constraints/m-p/1205864#M44446</guid>
      <dc:creator>DataOfficer</dc:creator>
      <dc:date>2022-08-24T15:00:36Z</dc:date>
    </item>
  </channel>
</rss>

