I am getting the following error message when trying to convert my XLSform. Can someone please help me with my if statement syntax?
Error: ODK Validate Errors:
XForm is invalid. See above for the errors.
: Invalid calculate for the bind attached to “${resp_rate_score}” : Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@614ddd49 in expression if(( ${resp_rate} <20 or >=50), 3, if ( ${resp_rate} >=20 and <=25), 2, if ( ${resp_rate} >=40 and <=49), 2,0)
The following files failed validation:
${SATS} ODK XLSForm .xml
Result: Invalid
Thanks,
Aya