evilGmonkey / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

date range constraints don't work #323

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> Am guessing that this is a common requirement for a lot of people
> building forms so there must be a solution out there. Or is it simply
> not possible to enter a date and constrain it to a date range within
> that question? If so then I would suggest that you remove this
> functionality from ODK Build, which allows one to apply date
> constraints, but as I have found out, it doesn't work....

verify what the date range options are in the core and implement the syntax in 
build. if there are none, then remove the range option.

Original issue reported on code.google.com by yanokwa on 16 Sep 2011 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by yanokwa on 16 Sep 2011 at 2:29

GoogleCodeExporter commented 9 years ago
according to drew, 

constraint="date(.) >= date('2005-01-01') and date(.) <= date('2007-12-31')"

should work. 

Original comment by yanokwa on 16 Sep 2011 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by mitchellsundt@gmail.com on 21 Sep 2011 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by clint%do...@gtempaccount.com on 29 Oct 2011 at 2:40