A) There is probably a bug related to particular conditions set in forms for Enketo. The image bellow shows the bug message after trying to load a form with these conditions.
B) The problem occurs in the presence of two minimum conditions:
- A repeat_group that assumes dynamic values for repeat_count;
- A select_one_from_file question nested in the repeat_group and with autocomplete appearance.
C) I tried to isolate the problem and describe it through 4 XLSforms:
test_01: contains the minimum conditions for the bug to be reproduced. The other 3 forms below contain isolated modifications made from this form.
test_01 - minimal bug reproduction.xlsx (11.5 KB)
test_02: shows that the problem is related to questions of type select_one_from_file, since changing the type to select_one eliminates the problem.
test_02 - changing select_one_from_file to select_one (no bug).xlsx (11.5 KB)
test_03: shows that the problem is related to dynamic repeat_count values, as the problem disappears by supplying a static value to the parameter.
test_03 - removing dynamic repeat_count (no bug).xlsx (11.4 KB)
test_04: shows that the problem is related to select_one_from_file questions with autocomplete appearance, since removing the widget also suppresses the bug.
test_04 - removing autocomplete (no bug).xlsx (11.5 KB)
CSV file used with select_one_from_file:
options.csv (100 Bytes)