Date restriction on App

Hi,
In a questionnaire I am asking for the arrival and the departure time (date and time) to the center. I put a condition that the departure time needs to be larger than the arrival time. It works on the browser version (enketo) but it does not work properly on the app (Kobo Collect). On the app it only checks for the date but not for the time. i.e. the date needs to be different.
For example:
Arrival: May 18 - 7.30
Departure: May 18 - 8.30
==> error message

Arrival: May 17 - 23.30
Departure: May 18 - 0.30
==> does work

Can you please let me know how to fix this?

Thanks

1 Like

Hi @anna,

Could you kindly please share with us the xlsform so that we could test it at our ends too.

Have a great day!

Hi @anna
Could you kindly share your XLS form/questionnaire? In the meantime, please have a look at the following XLS form and see if it addresses your needs.

Hours Calculated Between Dates v3.xlsx (20.0 KB)

Stephane

1 Like