You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whoops, just realized that this looks like expected behavior.
/data/root_repeat[position(..)] is identical to /data/root_repeat[1]. I think the intent here was /data/root_repeat[position() = position(current()/..)] (or using the shortcut syntax: /data/root_repeat[position(current()/..)])
Web Forms version and package (e.g. are you using
web-forms
or only the engine?)Web Forms: v0.4.0-53-gc9a0ee3d
Browser and version
Chrome 130.0.6723.70
Device used
MacOS 14.5
Problem description
In the following Form calculate of
n1
just reads the value ofq1
s from the first instance ofroot_repeat
.Steps to reproduce the problem
Form Definition
Expected behavior
Value of
n1
in each repeat instance should be equal to the join of allq1
s in the same instance.Other information
If I change calculate to
../nested/q1
then it works correctly.This could be related to #101
The text was updated successfully, but these errors were encountered: