<?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: DateTime now() not working for second survey in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109699#M38204</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you test both of these forms are they from the same device and using the same connections, etc? Seems as if one is from a browser and the other is from an inspector response, could be the connection or device the problem?&lt;/P&gt;&lt;P&gt;Maybe try changing the inspector form to choose the time and date manually instead of autocalculating it.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 13:56:36 GMT</pubDate>
    <dc:creator>ABishop</dc:creator>
    <dc:date>2021-10-21T13:56:36Z</dc:date>
    <item>
      <title>DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109679#M38200</link>
      <description>&lt;P&gt;I have two survey's that respond to one hosted feature service. One is a request that is submitted in the browser and the other is how inspectors respond to that request using the app. The now() on the DateTime field for the request works but it doesn't work on the inspection side in the Survey123 app. Please let me know if this is a bug or if I have something wrong with my code. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109679#M38200</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-21T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109683#M38201</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try reading up on the way the time works in Survey123 here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/dates-and-time-in-survey123/ba-p/895528" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/dates-and-time-in-survey123/ba-p/895528&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109683#M38201</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-10-21T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109693#M38202</link>
      <description>&lt;P&gt;I read the article but still am arriving at the same problem. The article states:&lt;/P&gt;&lt;P&gt;"Survey123 accepts three possible values in the XLSForm default column:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;now()&amp;nbsp; This function returns the current time in your device. Typically you apply this function to questions of type datetime."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have placed this expression in the default column of the unique DateTime fields for both surveys and it's oddly not auto populating for the second one.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109693#M38202</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-21T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109699#M38204</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you test both of these forms are they from the same device and using the same connections, etc? Seems as if one is from a browser and the other is from an inspector response, could be the connection or device the problem?&lt;/P&gt;&lt;P&gt;Maybe try changing the inspector form to choose the time and date manually instead of autocalculating it.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109699#M38204</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-10-21T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109703#M38205</link>
      <description>&lt;P&gt;That's an interesting observation. I tried the inspector form in the browser and the now() function worked. It is likely that this is a bug with capturing the device time from iOS 15. Inspectors are currently populating the field manually ever since now() stopped working.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109703#M38205</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-21T14:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109704#M38206</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a bug, ESRI has it documented.&amp;nbsp; I did a search for you here... maybe you can find something:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/Search-Results#search?q=iOS%2015&amp;amp;content-type=Bugs" target="_blank"&gt;https://support.esri.com/en/Search-Results#search?q=iOS%2015&amp;amp;content-type=Bugs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109704#M38206</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-10-21T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109706#M38208</link>
      <description>&lt;P&gt;Thanks! I wasn't aware of the bug tracker page. I may submit a support ticket in case this is a bug and hasn't been logged yet.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109706#M38208</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-21T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109708#M38209</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're welcome!&amp;nbsp; Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 14:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109708#M38209</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-10-21T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109990#M38213</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think this is so much an IOS 15 issue I can reproduce on my Android device and on an IOS 14 device. I had also tested with 3.12 and was able to reproduce with that version as well. I think the issue is more so around calculations not triggering when opened via the inbox. We have an enhancement (ENH-000134563) logged to enable calculations to always work on load from the inbox which I think would address this issue. One workaround would be to add a simple yes_no choice question at the beginning of the form and make the inspection information group relevant based on 'yes' being selected. Making the group relevant will trigger the calculation when the survey is opened from the inbox. I've attached a slightly modified Mosquito Control form for reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 21:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1109990#M38213</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2021-10-21T21:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1110388#M38236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your thorough response to my question. I didn't realize that when a form is loaded from the inbox it's treated differently than if it's opened in the browser. I see what you did there with addition of the prior question making the group relevant depending on the response to that question. It's a neat idea but I think for now I'll keep the now() expression in the calculate column instead of the default one. Whether it's in calculate or default it works once the user taps on the DateTime field but I like that when it's in calculate it gives the refresh option icon to the right of the field. From a UI/UX standpoint it's a little more intuitive for our field workers since it's an actual icon for them to click. Also, one of the downsides of having the group be relevant is that if they select no on start survey they could possibly still go through and submit the survey but bypass the first group of questions which is a risk I'm hesitant to take.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In regards to the ENH-000134563&amp;nbsp;enhancement is there an estimated idea of which future release this would be included in? Thanks again for your time! I really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Respectfully,&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 18:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1110388#M38236</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-22T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1111829#M38331</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;, just in case the enhancement you mentioned doesn't fix the issue I'm having I've logged a separate one under&amp;nbsp;ENH-00143976. Thanks again for all your help!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 19:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1111829#M38331</guid>
      <dc:creator>FredMitchell</dc:creator>
      <dc:date>2021-10-27T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1124695#M39165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503780"&gt;@FredMitchell&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/486546"&gt;@ABishop&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Just letting you know we have recently updated the 3.14 beta builds on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://earlyadopter.esri.com/project/home.html?cap=e69ef91f45744b98882c651f7b518eb7" target="_self" rel="nofollow noopener noreferrer"&gt;Early Adopter Community&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the next release will include major improvements to the expression calculation engine, new calculation modes, improvements to loading relevant questions and repeats, and other fixes to repeats, nested repeats and repeat count. With these improvements we see faster loading surveys, increased stability, less crashes and ability to optimize calculation workflows.&lt;/P&gt;&lt;P&gt;The issue you reported above can now be solved using the new calculation modes available in the latest 3.14 beta builds, where you can set calculations to always run or be manual or auto.&lt;/P&gt;&lt;P&gt;Please refer to this blog post for more details:&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/arcgis-survey123-3-14-beta-now-available-for/ba-p/1124459" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/arcgis-survey123-3-14-beta-now-available-for/ba-p/1124459&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Direct link to EAC announcement:&amp;nbsp;&lt;A href="https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttypeid={4d0c881a-e4c4-4530-846f-512df374efc3}&amp;amp;artid={AF66CE67-315D-4F56-8F6D-A77DDFA5F59B}" target="_blank" rel="noopener nofollow noreferrer"&gt;https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttype...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 23:57:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1124695#M39165</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-09T23:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1134483#M39802</link>
      <description>&lt;P&gt;Thank you thats exactly what I was looking for! I just encountered the bug where the now() function is not working in the calculation column when loading the survey from an inbox.&lt;/P&gt;&lt;P&gt;By chance, is the release of 3.14 still expected for the end of the month??&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 07:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1134483#M39802</guid>
      <dc:creator>JeremieCote</dc:creator>
      <dc:date>2022-01-18T07:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1135251#M39850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/540101"&gt;@JeremieCote&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Currently the 3.14 release is scheduled for mid to late February, however that could change based on final development tasks and testing. Keep an eye out for updates on the&amp;nbsp;&lt;A href="https://earlyadopter.esri.com/project/home.html?cap=%7BE69EF91F-4574-4B98-882C-651F7B518EB7%7D" target="_blank"&gt;ArcGIS Survey123 - ArcGIS Survey123 (esri.com)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 23:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1135251#M39850</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-01-19T23:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime now() not working for second survey</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1223110#M45408</link>
      <description>&lt;P&gt;Hi- I am having a very similar issue .&lt;/P&gt;&lt;P&gt;I have two surveys linked to the same hosted feature. One is for the field staff to collect information and the other is for a committee to review the information from within a Dashboard.&lt;/P&gt;&lt;P&gt;I am using s123 Connect 3.13.239.&lt;/P&gt;&lt;P&gt;I have a dateTime field with the default field set to &lt;EM&gt;now()&lt;/EM&gt; . &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VanessaSimps_0-1666132686327.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53899iAAAEBA8A486ED2C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VanessaSimps_0-1666132686327.png" alt="VanessaSimps_0-1666132686327.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Should also note that I tried &lt;EM&gt;today()&lt;/EM&gt;&amp;nbsp;in the default field, as well as change the field type to date instead of dateTime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both the&amp;nbsp;s123 Connect preview and when I launch the survey independently in browser, the &lt;EM&gt;Date of Review&lt;/EM&gt; value is populated as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VanessaSimps_1-1666132805825.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53900i9635076B37063D3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VanessaSimps_1-1666132805825.png" alt="VanessaSimps_1-1666132805825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, when I put this survey into my Dashboard (where review staff will be able to see and jump around from issue to issue to review, the &lt;EM&gt;Date of Review&lt;/EM&gt; field&amp;nbsp; it is empty:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VanessaSimps_2-1666132876076.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53901iB7533F61E7E7EF77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VanessaSimps_2-1666132876076.png" alt="VanessaSimps_2-1666132876076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Testing out a few things, when I did add the &lt;EM&gt;now()&lt;/EM&gt; to the &lt;EM&gt;calculate field&lt;/EM&gt;&amp;nbsp;it gets me a bit closer to auto filling the value, but I still have to hit the "reload" button to get the date to populate as expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 22:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/datetime-now-not-working-for-second-survey/m-p/1223110#M45408</guid>
      <dc:creator>VanessaSimps</dc:creator>
      <dc:date>2022-10-18T22:50:24Z</dc:date>
    </item>
  </channel>
</rss>

