Hi, I received this(below) error message when I tried to deploy my form.
How can I fix it?
your form cannot be deployed because it contains errors:
ODK Validate Errors: >> XForm is invalid. See above for the errors. : bind for ${How_many_ANC_1_sessi_A_conduct_this_week} contains invalid constraint expression [<= ${What_is_the_total_number_of_AN_001} ] Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@6fd02e5 The following files failed validation: ${tmp6xjg5lqn} Result: Invalid
Hi @ekitistripe_1 and welcome to the community!
Can you use this tool to validate your form, it will give you your syntax issues so you can check them in your form.
1 Like
Error: ODK Validate Errors:
XForm is invalid. See above for the errors.
: bind for ${How_many_ANC_1_sessi_A_conduct_this_week} contains invalid constraint expression [<= ${What_is_the_total_number_of_AN_001} ] Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@1b68ddbd
The following files failed validation:
${Abia} State CRISP SBAs Weekly electronic Reporting Logbook (eLB).xml
Result: Invalid
That’s the result I got after using the tool to validate my form.
How do I correct this error?
@ekitistripe_1, maybe you will need to check out the constraint that you have used for How_many_ANC_1_sessi_A_conduct_this_week
variable (question).
1 Like