Josh
September 30, 2021, 4:47pm
6
Hi @wodbow , if you are going to be collecting data from a single device, you can increment an ID using the last-saved
feature as follows:
survey
type
name
label
default
integer
id
Client ID
if(${last-saved#id} = ‘’, 1, ${last-saved#id} + 1)
text
name
What is your name?
Note that this will not increment the ID across multiple devices. This feature is also not yet available on the OCHA server until Enketo is upgrade next week:
We have upgraded Enketo Express from version 2.5.6 to 2.8.1 on the following servers:
HHI on 29 September 2021 at 21:00 UTC.
OCHA on 5 October 2021 at 04:25 UTC.
This is a major upgrade that includes many performance improvements , bug fixes and new features such as last-saved and support for digest() .
Thank you to everyone who helped with testing over the last few months as we went through several iterations before finally deploying to the whole community. Your efforts are highly appreciat…
1 Like