1. What is the problem? Be very detailed.
I would like to collect social network data where someone names up to 10 individuals (in a loop) who they go to for health advice. Instead of then asking a series of questions for each individual, I would like to ask a series of questions where the respondent could choose from a list of those people named. ie. Which of those people do you work with? And then select from a list of 10 names. Is there any way to do this? It will be faster and allow me to establish ties between people named (i.e. Which of those people does person A also know?)
2. What app or server are you using and on what device and operating system? Include version numbers.
ODK collect on a Tablet.
3. What you have you tried to fix the problem?
N/A
4. What steps can we take to reproduce the problem?
N/A
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
N/A
Hey @Jenny_Smith! I'm not sure I full understand what you're trying to achieve. Do you want a respondent to ask someone to name up to 10 people and then have them answer a series of questions on just a few of those people (the same questions for each person)?
If that's not it could you maybe post an example set of questions and a potentially a step by step description of how you see the form?
Wondering if you can take a look at the attached form - essentially the same as yours but when I run it in Enketo the choice labels are not appearing in the list (but yours do). I have done some checks and the individual variables are calculating correctly (ie I can reference them and works fine). So I think it is something about the way the list is constructed. I am not sure why it would differ from yours though. SNA_test_simple.xls (56 KB)
Thank you,
Jenny
After a few tests, I've tried removing it (cell H5) and it works fine (enketo2).
I'm not sure why this is the case.
I have also noticed another small issue on Enketo:
the number of boxes is correct, but the last label is not displaying. Example when entering 3 people, only the first 2 names appear in the multiple choice, with the 3 box having no label. I guess it is a bug as one enters an additional group, the label is correctly visualized and an "empty" cell is added.
Huge thanks for the quick response, that is very helpful. I had noticed those issues with the last repeat not appearing on the list.......that could be a problem.
I am setting up a tablet to test in ODK collect, I assume I will run into the same issues there? Unfortunately it is pretty urgent, so I may have to go for a workaround.
I didn't look into this in great detail but there is something odd about the XForm. It includes ${..} references. It looks like these are from the name column in the choices sheet which cannot be dynamic. I think that explains the issues you are seeing. We may have to add a helpful warning to XLSForm for that.
Thanks @martijnr, I have just tested in ODK Collect and it works fine - neither of those two issues are a problem. So I suspect that it is a bug in Enketo.