Probelm loading form

Error occured during the loading of this form. We do not recommend you use this form for data entry until this is resolved.

Please contact support@kobotoolbox.org with the link to this page and the error message below:

FormLogicError: Could not evaluate: If( /model/instance[1]/ajimiAWKVZoKPR37qLwdhE/q1 =1,1,0), message: Failed to execute ‘evaluate’ on ‘XPathEvaluator’: The string ‘If(false(),1.00000000000000000000,0.00000000000000000000)’ is not a valid XPath expression.

@anas, you could always validate your XLSForm through this online validator? The online validator should help you identify any syntax issues that are affecting the form deployment.

This post discussed previously should help you use the online validator.

FormLogicError: Could not evaluate: If( /model/instance[1]/ajimiAWKVZoKPR37qLwdhE/q1 =1,1,0), message: Failed to execute ‘evaluate’ on ‘XPathEvaluator’: The string ‘If(false(),1.00000000000000000000,0.00000000000000000000)’ is not a valid XPath expression.

XPath uses lowercase if, not If.
Make youself familiar with Online Validator. It will always point you to where you have failed

1 Like

@pruzige, :person_bowing: