adedeji
December 28, 2022, 8:28am
1
I want to put restrictions on the time the form is used on kobo without the user picking the date. I want clock in time should be between 6am and 10am and clock out time to be between 4pm and 6pm.
Kal_Lam
December 29, 2022, 4:52am
2
Welcome to the community, @adedeji ! You could do this as outlined in the post discussed previously:
@azamiqbal , you could follow the image below to understand on what @wroos has tried to show.
In the survey tab of your XLSForm:
[Image 1]
Data entry screen as seen in Enketo:
[Image 2]
Data entry screen as seen in Enketo:
[Image 3]
Data entry screen as seen in Enketo:
[Image 4]
Data entry screen as seen in Enketo:
[Image 5]
Reference XLSForm:
TIME.xlsx (9.9 KB)
All you need to calculate here is the decimal-time. For this you could do as follows:
First, you will need to conve…