Survey123 connect - fix a 'time' with now?

444
1
Jump to solution
01-18-2019 02:05 AM
PierreVolte
New Contributor

I'm creating a form for a specific ecological protocol that needs a precise time of inventory. I created a kind of timer. When you hit a button you have a start time (now()) and a end time (now() + 30 min).

Then there is a repeat function for each time the operator sees a Lizard. But when the 'new entry' button of the repeat function is hit, it updates the start time (and so the end time) to the current time

The start time is before the start of the repeat function.

Is it possible to fix the now() time?

0 Kudos
1 Solution

Accepted Solutions
JamesTedrick
Esri Esteemed Contributor

Hi Pierre,

Use the once() function to prevent additional calculations to occur to the questions:

once(now())

once(now()+30*60*1000)

View solution in original post

1 Reply
JamesTedrick
Esri Esteemed Contributor

Hi Pierre,

Use the once() function to prevent additional calculations to occur to the questions:

once(now())

once(now()+30*60*1000)