Loading Error- Calculation for quiz scores

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]/aXL8oNhBFfbriqngRD2LKF/q9 =2,5,0), message: Failed to execute ‘evaluate’ on ‘XPathEvaluator’: The string ‘If(false(),5.00000000000000000000,0.00000000000000000000)’ is not a valid XPath expression

Welcome to the community, @andrewsadjieteh! 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.

When looking at your error message it seems like the issue is from the if-statement. You may be using If instead of using if. Note: use of small i instead of use of capital I.