Skip logic based on a range of dates

Hello,

I am trying to add skip logic in XLSForms that is dependent on a date
range. For example, I want to only display a question on the form if
today's date is between March 01 through May 31 (of any year, so that this
skip logic can be used in future years). What is the correct syntax to
place in the "relevant" column of XLSForms for this situation? Note: I am
using ODK Collect on Android Asus Transformer tablets for this survey.

Thank you,
Jacqueline Fiore
Malawi ICEMR

Jacqueline -

Have you considered a regex constraint?

Also, the list archives has this entry you might want to read - although
its not specifically your case.
https://groups.google.com/forum/?fromgroups=#!topic/opendatakit/kC_oAHTt_Q8

  • James
ยทยทยท On Tue, Aug 28, 2012 at 9:07 AM, jfiore wrote:

Hello,

I am trying to add skip logic in XLSForms that is dependent on a date
range. For example, I want to only display a question on the form if
today's date is between March 01 through May 31 (of any year, so that this
skip logic can be used in future years). What is the correct syntax to
place in the "relevant" column of XLSForms for this situation? Note: I am
using ODK Collect on Android Asus Transformer tablets for this survey.

Thank you,
Jacqueline Fiore
Malawi ICEMR

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
James Dailey
skype: jdailey