I have create à form for describe the lithological description. In my situation, the form is little bit complex, I have some nested repeat group :
I have mutiple "core sample" (my LITHO repeat group)
for each core sample:
--I have multiple "lithological description" (my LITHODESC repeat group)
--for each lithologi:
----I have mutiple "sample bottle" (my FLACON repeat group)
I post (a simplify) example :
XLSFORM_bug.xlsx (16.8 KB)
All along the form, I want to recall the depth and some other informations for contributor readability (in reality, my form is much bigger )
The bug :
I fill in the form, normaly, I add a group “LITHO” (the last), I fill in, and I add a group “LITHODESC” in my second “LITHO” group.
I get a error (in console)
no context element found ... and some other.
In the UI form, some input element has broken. If I continue to add repeat group, the bug continue too.
To begin, I thought it was because of the position(…) calculate element.
I remove that and the problem is now on other calculation :
XLSFORM_bug_without_post.xlsx (16.6 KB)
Did i make a mistake in my form ?
Do you have some idea for fix the problem ?
Thank you !