Hi all,
I’m having a problem with a survey in Enketo and I really can’t find the logic why it might be happening. I think it’s a bug.
I get the following ‘textContent’ error when opening the survey in Enketo:
The same xls in the KoboCollect app opens, with all the features and submissions working as expected.
The question that is causing the problem is a select_one_from_file [finename].csv, and the use of the ‘autocomplete’ feature and of the number of groups inside a repeat group seem both relevant.
I’ve tested 3 scenarios and have come to the following:
Scenario 1:
- Repeat Group that contains two normal groups;
- The relevant ‘select_one_from_file [finename].csv’ question is inside 2nd group;
- ‘autocomplete’ appearance is on;
- RESULT: produces the bug
Scenario 2:
- Repeat Group that contains two normal groups;
- The relevant ‘select_one_from_file [finename].csv’ question is inside 2nd group;
- ‘autocomplete’ appearance is not added;
- RESULT: does not produce the bug
Scenario 3
- Repeat Group now contains only the 2nd group of previous questions;
- The relevant ‘select_one_from_file [finename].csv’ question is inside this group;
- ‘autocomplete’ appearance is on;
- RESULT: does not produce the bug
To protect my client’s details, I’m attaching the XLS files of the different scenarios with only the questions that seem to be causing the problem. I am also attaching the csv files with dummy data:
scenario 1.xlsx (16.1 KB)
scenario 2 - no autocomplete, no error.xlsx (16.1 KB)
scenario 3 - 1 group, no error.xlsx (15.9 KB)
salespersons.csv (286 Bytes)
test.csv (151 Bytes)
Unfortunately, I really need to use this survey structure and need it working in Enketo too…
Can anyone please help me with this problem? It’s a long post, but I’ve just tried to be as detailed as possible
Thank you in advance!