Dear Survey123 Support Team,
I am experiencing an issue with relevant expressions in a deeply nested repeat structure in Survey123.
Form Structure:
The survey includes three levels of nested repeats:
- Repeat 1: Location
- Repeat 2: Machines and Equipment
- Repeat 3: Equipment Details
Inside the deepest repeat (Equipment Details), I have a simple logic:
- A select_one (yes/no) question
- A dependent question that should appear when the answer is "Yes" using a relevant expression
Problem Description:
- The relevant expression works correctly in the mobile app (Survey123 field app).
- However, in the Survey123 Web Form, the dependent question does NOT appear initially.
- If I remove the relevant condition, the question appears normally.
- Interestingly, when I add a second record (+) in the same repeat, the relevant condition suddenly starts working for the first record, and the dependent question becomes visible.
Observations:
- The issue only occurs in the deepest nested repeat level.
- The relevant expression syntax is correct and validated (Analyze survey shows no errors).
- The issue occurs during new record creation, not editing.
Expected Behavior:
The dependent question should appear immediately when "Yes" is selected.
Actual Behavior:
The dependent question does not appear until another repeat record is added, which triggers a refresh.
Conclusion:
This appears to be a rendering or evaluation issue in the Survey123 Web Form when handling relevant expressions inside deeply nested repeats.
I would appreciate your assistance in confirming whether this is a known limitation or a bug, and any recommended workaround.
Best regards,