<?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: Start - Stop time function based on now() in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812794#M13769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I havent attempted this yet but one thing caught my eye:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff;"&gt;if I set the calculate field as now() whilst it does give me the correct time, it will refresh the time whenever I cycle through the repeats&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;To stop this from happening you can use the once() function which will force the calculation to only happen once and not each time the user scrolls through the repeat items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Deon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 06:41:28 GMT</pubDate>
    <dc:creator>DeonLengton</dc:creator>
    <dc:date>2018-06-21T06:41:28Z</dc:date>
    <item>
      <title>Start - Stop time function based on now()</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812793#M13768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking into the use of a "Stop" time button (End Standing Time) within a repeat, upon which a related dateTime (Finish Time) would appear with the current time appearing when the stop button (as a likert) is selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="j-img-floatstart image-1 jive-image" height="302" src="https://community.esri.com/legacyfs/online/411766_pastedImage_1.png" style="float: left;" width="350" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that if I set the default time for the Finish Time to now(), it will give me the time at the first opening of the repeat and not the current time, and if I set the calculate field as now() whilst it does give me the correct time, it will refresh the time whenever I cycle through the repeats (going from 2 of 2, back to 1 of 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am hoping to have a stop button which will set the Finish Time as current time when selected, with this time not automatically recalculating and changing when I go back (current workflow shown below). The XLS form is as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/411771_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1: Create first repeat entry.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="256" src="https://community.esri.com/legacyfs/online/411767_pastedImage_3.png" width="341" /&gt;&lt;/P&gt;&lt;P&gt;Step 2: Select Stop button auto-calculating Finish Time to now()&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="287" src="https://community.esri.com/legacyfs/online/411768_pastedImage_4.png" width="333" /&gt;&lt;/P&gt;&lt;P&gt;Step 3: Create second repeat entry.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" height="289" src="https://community.esri.com/legacyfs/online/411769_pastedImage_5.png" width="334" /&gt;&lt;/P&gt;&lt;P&gt;Step 4: Click back to first entry to find Finish Time has updated from 13:45 to 13:46.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" height="286" src="https://community.esri.com/legacyfs/online/411770_pastedImage_6.png" width="329" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone able to suggest a workaround for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 12:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812793#M13768</guid>
      <dc:creator>ThomasPerriment1</dc:creator>
      <dc:date>2018-06-20T12:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Start - Stop time function based on now()</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812794#M13769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I havent attempted this yet but one thing caught my eye:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff;"&gt;if I set the calculate field as now() whilst it does give me the correct time, it will refresh the time whenever I cycle through the repeats&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;To stop this from happening you can use the once() function which will force the calculation to only happen once and not each time the user scrolls through the repeat items.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Deon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812794#M13769</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2018-06-21T06:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Start - Stop time function based on now()</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812795#M13770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response! This worked perfectly and was exactly what I was looking for. Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 08:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/812795#M13770</guid>
      <dc:creator>ThomasPerriment1</dc:creator>
      <dc:date>2018-06-21T08:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Start - Stop time function based on now()</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/1098420#M37190</link>
      <description>&lt;P&gt;Hi Thomas -&lt;/P&gt;&lt;P&gt;I wanted to follow up with your post about how you approached the&amp;nbsp;Start - Stop time function in Survey123 repeats. Using your example and the advice from the responder, I'm trying to get it to work with the once() but I can't seem to get it right and I'm wonder if I', missing something else on that line of the xls form.&amp;nbsp; Below is your screenshot from your original post.&amp;nbsp; When you got it to work, did you just replace now(), with once()?&amp;nbsp; Are there any other columns that require something other than what you showed?&amp;nbsp; When I put that formula in the calculation column and try to save I get an error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HillarySherrill_0-1631713145523.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23000i45836D8549B00518/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HillarySherrill_0-1631713145523.png" alt="HillarySherrill_0-1631713145523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once the user selected the stop button, did that then make the finish time box come up (relevant) and then populate the date and time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Hillary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 13:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/start-stop-time-function-based-on-now/m-p/1098420#M37190</guid>
      <dc:creator>HillarySherrill</dc:creator>
      <dc:date>2021-09-15T13:47:50Z</dc:date>
    </item>
  </channel>
</rss>

