Hello Community
Please, I need assistance to set a specific duration and time for my enumerators to collect data. I want to ensure that the enumerators cannot enter the data into the system beyond the days and times.
I am struggling to do the following:
Data collection starts from 2023-06-07 to 2023-06-10, thus 4 days
The enumerators collect data daily from 8:00am to 5:00pm.
Please, how will I do this in the XLSForm?
Thank you
@msuuta , maybe these posts discussed previously should help you solve your issue:
@christian_silvera , you could use the following constraint as shown in the image below:
In the survey tab of your XLSForm:
[Image 1]
Data entry screen as seen in Enketo: accepting 1900-01-01 when a date is unknown
[Image 2]
Data entry screen as seen in Enketo: rejecting a date that is above 1900-01-01 and below 2021-01-01
[Image 4.5]
Data entry screen as seen in Enketo: accepting a date that is 2021-01-01 and above
[Image 3]
Data entry screen as seen in Enketo: accepting a date th…
And this one too …
@mkamzati , you could do it as advised by @wroos following the image shared below:
In the survey tab of your XLSForm:
[Image 1]
Data entry screen as seen in Enketo: when End time is less then the Start time
[Image 2]
Data entry screen as seen in Enketo: when Start time and End time are same
[image]
Data entry screen as seen in Enketo: when End time is greater then the Start time
[Image 3]
Reference XLSForm:
TIME.xlsx (9.9 KB)
And this one too …
And this one too …
Hi @dianedetoeuf ,
Would you mind using the datetime instead of using date and time seperately as outlined in the image below (for catch as well):
[image]
It should solve your issue.
Data Entry screen as seen in Enketo:
[image]
Reference xlsform:
Test date and time.xls (28.5 KB)
Have a great day!
Thank you for sharing very useful information with me