<?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: Datefields cannot be forced to be null in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1034307#M33036</link>
    <description>&lt;P&gt;Did you try removing &amp;amp;field:&lt;STRONG&gt;Solddate=null&lt;/STRONG&gt; completely from your link?&lt;/P&gt;&lt;P&gt;If you do not set a default value in your date question, it will appear empty and if not completed by the user a null value will be stored in the feature layer.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 04:26:07 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2021-03-09T04:26:07Z</dc:date>
    <item>
      <title>Datefields cannot be forced to be null</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1033851#M32997</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have made a Survey in S123 connect based on a current feature service, where the user should be able to change 3 different date fields (among other fields).&lt;/P&gt;&lt;P&gt;To make it more user friendly, i have made 4 buttons in an experience environment, where the date fields would be either today's date or null, as the 3 fields are connected (Reservation date, when the reservation will expire, and the date when the property is sold)&lt;/P&gt;&lt;P&gt;When there is a new reservation, the user will click the "Reservation" button, and the "Sold date" will become null, "Reservation" will be today's date, and "Reservation expires" will be today's date + 6 months.&lt;/P&gt;&lt;P&gt;My issue:&lt;/P&gt;&lt;P&gt;When the button is clicked, the following is hard coded into the Survey 123 link:&lt;/P&gt;&lt;P&gt;https://survey123link?mode=edit&amp;amp;globalId={globalID}&amp;amp;field:Status=Reserved&amp;amp;field:&lt;STRONG&gt;Solddate=null&lt;/STRONG&gt;&amp;amp;field:Reservation={Today}&amp;amp;field:ReservationExpires={Today_6Month}&amp;amp;hide=field{someFields}&amp;nbsp;&lt;/P&gt;&lt;P&gt;This hardcoded link results in the following survey, where the "Solddate" would become null (Which works as intended): - Translated from Danish (Sorry)&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RasmusHolstMikkelsen_2-1615196315330.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7789iE3271ADB7D9EB31B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RasmusHolstMikkelsen_2-1615196315330.png" alt="RasmusHolstMikkelsen_2-1615196315330.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when you click the submit button i get the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RasmusHolstMikkelsen_3-1615196373217.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7790iAFFA6508E0C79B90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RasmusHolstMikkelsen_3-1615196373217.png" alt="RasmusHolstMikkelsen_3-1615196373217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which i would roughly translate into: "The survey contain errors: 1. Click here to navigate to each error".&lt;/P&gt;&lt;P&gt;So for some reason it is not possible to send Null data to a datefield? Does anybody know why? - The field(s) can contain Null values in the database. The 3 date fields all have the bind::esri:fieldType of esriFieldTypeDate in the S123 excel spreadsheet.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 09:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1033851#M32997</guid>
      <dc:creator>RasmusHolstMikkelsen</dc:creator>
      <dc:date>2021-03-08T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Datefields cannot be forced to be null</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1034307#M33036</link>
      <description>&lt;P&gt;Did you try removing &amp;amp;field:&lt;STRONG&gt;Solddate=null&lt;/STRONG&gt; completely from your link?&lt;/P&gt;&lt;P&gt;If you do not set a default value in your date question, it will appear empty and if not completed by the user a null value will be stored in the feature layer.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 04:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1034307#M33036</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2021-03-09T04:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Datefields cannot be forced to be null</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1034344#M33039</link>
      <description>&lt;P&gt;That works completely fine, however, as the feature service is editable, the "&amp;amp;field:Solddate=null" was my way of trying to reduce the amount of clicks when editing the data. Therefore, if i don't set "solddate=null", the original date will still appear, if already set, and it would then have to be changed manually &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to be able to remove the original date stored in one of the date fields, without the user needing to delete/remove the data manually.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1034344#M33039</guid>
      <dc:creator>RasmusHolstMikkelsen</dc:creator>
      <dc:date>2021-03-09T07:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Datefields cannot be forced to be null</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1333903#M52069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/436306"&gt;@RasmusHolstMikkelsen&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Have you figured out how to do this? I'm currently in a similar situation. I have a form with a status field and date fields for each status. One of my statuses is "Needs Repair". When "Needs Repairs" is selected the date and time is recorded. When the status is changed back to "Live" I want the date that was recorded to be removed (blank). I can have my field crew manually remove the date in the form, it's just one more thing that they can forget to do manually. I'd rather have it automatically done with the status change. Also, this is in a web form not the field app.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 21:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1333903#M52069</guid>
      <dc:creator>JerrySneary</dc:creator>
      <dc:date>2023-09-29T21:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Datefields cannot be forced to be null</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1670703#M64921</link>
      <description>&lt;P&gt;2025 and I'm still trying to figure this out. I have the opposite problem. The date in my feature service is null and I want the survey to pre-populate with the current date "now()". For what I can gather, no matter what you do, if you use&amp;nbsp;&lt;SPAN&gt;mode=edit in the link, it'll bring over the attribute that's in that cell. No amount of arcade expressions, adding&amp;nbsp;&amp;amp;field:Solddate=null in the link or adding defaults or calculations in the survey will change that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 21:29:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datefields-cannot-be-forced-to-be-null/m-p/1670703#M64921</guid>
      <dc:creator>vaishalikulkarni00</dc:creator>
      <dc:date>2025-12-04T21:29:40Z</dc:date>
    </item>
  </channel>
</rss>

