Error when using and / or for calculated booleans

I made a calculation question called calc3 with
${calc1} or ${calc2}, where calc1 and calc2 can be true or false.

calc3 always returns true, no matter what the input from calc1 and calc2.

Example xlsform to demonstrate:
boolean_error_test.xlsx (5.9 KB)

I get the same behaviour in the kobo toolbox preview and on the kobo collect app.
Can anyone tell me why its happening?

You might have a look here: https://getodk.github.io/xforms-spec/#xpath-functions.

1 Like