The shared XLSform works. I stripped the XLSform down completely and letting only what is needed to work (TVET Census V4_R (1).xlsx (21.4 KB)). I have noticed three things:
- A repeat is needed to let the entered text come back as a choice in select_one or select_multiple. You leave out the repeat and just use the
text
question and store the answer in the calculate or you can not usebegin group
, because you only need one answer and not multiple answers. - You can not store a
text
question answer with ${your_text_answer}, you need to use for exampleconcat(${your_text_answer})
to store the giventext
question answer and being able to use it for other purposes. - In the previous post: Displaying a required list of dynamic choices (in a select multiple question) based on the number of text response used within a repeat group - #6 by Kal_Lam, “Note: Here the labels are not shown. This should be a bug in Enketo. However if you try the same in KoBoCollect android app it works smoothly and you are too able to see the label.” is no longer applicable. The labels are now shown in the choices.
Can anyone explain bullet 1 and 2?