I'm using an if() statement in the calculation column of a question to conditionally provide a default answer. It works outside of a repeat group but not inside.
See this simplified example: conditional_default.xlsx (10.1 KB)
The docs I looked at: https://docs.getodk.org/form-logic/#setting-default-responses
A bug? Expected behavior? I'm doing something wrong?