Restrict date to today only, user should not be allowed to enter past and future dates

Hi all, I see alot of Date Constraint questions and I am not sure if this has been asked before.

I would like to restrict the date to today only. The user should not be permitted to enter both past and future dates, how can i go about this.


Please Check and confirm
DATE TODAY.xlsx (12.8 KB)

Hi, @nafe86
You can use this syntax in constraint column of that date question -
. = today()

Enjoy ODK!



Thank you this one worked. Much obliged sir

1 Like