Condition statements

Can you write a conditional AND OR logic statement under the relevance
column. I want to do something like: ${Something} = 'this' OR 'that'What is
the syntax for AND and OR statements? Can we use parenthesis, like
${Something} = ('this' OR 'that') AND 'that'.

Thanks,

Mike

Yes, you can write things like:

(selected(${marital}, '0') or selected(${marital}, '1') or
selected(${marital}, '2')) and not(selected(${marital}, '8'))
more on the syntax at: http://opendatakit.org/help/form-design/binding/ and
http://opendatakit.org/use/xlsform

ยทยทยท On Sat, Aug 18, 2012 at 5:13 PM, Michael Stevens < michael.stevens.miis@gmail.com> wrote:

Can you write a conditional AND OR logic statement under the relevance
column. I want to do something like: ${Something} = 'this' OR 'that'What is
the syntax for AND and OR statements? Can we use parenthesis, like
${Something} = ('this' OR 'that') AND 'that'.

Thanks,

Mike

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