<?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 calculationMode=whenEmpty Not working in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1669315#M64899</link>
    <description>&lt;P&gt;I still have this problem...&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2025 11:20:42 GMT</pubDate>
    <dc:creator>HOEOEK</dc:creator>
    <dc:date>2025-12-01T11:20:42Z</dc:date>
    <item>
      <title>Survey123 calculationMode=whenEmpty Not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1290338#M49343</link>
      <description>&lt;P&gt;I have a survey where the user can change the status, and I am tracking the dateTime of the status change in a hidden field. The problem is when a user changes the status, the dateTime field in reference to the existing status value is set to null when the form is submitted.&lt;/P&gt;&lt;P&gt;The way this is setup is I have a select_one field with my status values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GDXAdmin_0-1684352250206.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71002i9D908BF4698A0B29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GDXAdmin_0-1684352250206.png" alt="GDXAdmin_0-1684352250206.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GDXAdmin_1-1684352284057.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71003i3C10227A76C33A05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GDXAdmin_1-1684352284057.png" alt="GDXAdmin_1-1684352284057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For each status value, I have hidden dateTime fields with a calculation value of now(), and a relevant value that matches the selected status value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GDXAdmin_2-1684352610533.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71004iFA53CCA1D6F8D63C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GDXAdmin_2-1684352610533.png" alt="GDXAdmin_2-1684352610533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once the status has been selected and submitted, I want the dateTime field to calculate and then never change.&amp;nbsp; From the description of the calculateMode=whenEmpty, I thought this was the correct choice.&lt;/P&gt;&lt;P&gt;However, if I change the status from say 2. to 4., the dateTime value for 2. becomes null, and 4. populates with the now value.&lt;/P&gt;&lt;P&gt;Before changing and submitting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GDXAdmin_3-1684352784497.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71006i146A4126E27FC547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GDXAdmin_3-1684352784497.png" alt="GDXAdmin_3-1684352784497.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After changing and submitting, note how 2. is blank:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GDXAdmin_4-1684352835990.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71007i95E51DB068159D11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GDXAdmin_4-1684352835990.png" alt="GDXAdmin_4-1684352835990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried other calculateMode values and nothing works.&amp;nbsp; Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 19:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1290338#M49343</guid>
      <dc:creator>chrisblinn_kci</dc:creator>
      <dc:date>2023-05-17T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 calculationMode=whenEmpty Not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1290382#M49345</link>
      <description>&lt;P&gt;An update:&lt;/P&gt;&lt;P&gt;If I change the input type to dateTime, and make the calculationMode=auto, then the user can click the Recalculate button and submit.&amp;nbsp; This preserves the values in other date fields, but I would still like the calculation for the new status to automatically calculate.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 20:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1290382#M49345</guid>
      <dc:creator>chrisblinn_kci</dc:creator>
      <dc:date>2023-05-17T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 calculationMode=whenEmpty Not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1319230#M51211</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameter calculationMode=whenEmpty has now stopped working for me too. It's been working for almost a year. If I turn off readonly it works. I don't want this field to have the ability to be recalculated. If any one has any ideas I'd love to hear them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 17:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1319230#M51211</guid>
      <dc:creator>JerrySneary</dc:creator>
      <dc:date>2023-08-16T17:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 calculationMode=whenEmpty Not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1488539#M57326</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I just wanted to add that&lt;SPAN&gt;&amp;nbsp;calculationMode=whenEmpty has also stopped working for me. It had been working but no longer is.&amp;nbsp; Wondering if anyone got to the bottom of this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Jon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 21:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1488539#M57326</guid>
      <dc:creator>JonCardiello</dc:creator>
      <dc:date>2024-06-10T21:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 calculationMode=whenEmpty Not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1669315#M64899</link>
      <description>&lt;P&gt;I still have this problem...&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 11:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculationmode-whenempty-not-working/m-p/1669315#M64899</guid>
      <dc:creator>HOEOEK</dc:creator>
      <dc:date>2025-12-01T11:20:42Z</dc:date>
    </item>
  </channel>
</rss>

