Dear All,
I am Samuel from Ghana and a member of the ODK community. I am currently designing a form and went to set the date such that some one can not enter future date or previous date but today.
I know the command for today as . = today() at constraint. I kindly need you help members to fix this. and also a command to set the current time not ealiar or future time
Have you tried this? To constrain a date to today() you would use:
${Date}: constraint = ". = today()"
Although if the user always has to enter today, one has to ask why have a question for it; why not instead simply put today() as a calculated result...