How do i display selected options from a dropdown select:
if i select a 4 choice from the drop down select, how do i show the list in a note for users, reminding them, selected options they have tick in odk?
Thank you
How do i display selected options from a dropdown select:
if i select a 4 choice from the drop down select, how do i show the list in a note for users, reminding them, selected options they have tick in odk?
Thank you
Please see this form example: show_selections.xlsx (9.9 KB)
It uses count-selected(...)
to do a repeat group the same number of times as answers for a select_multiple. Then inside the repeat group uses jr:choice-name()
in a calculate to get the label instead of the name for each of the answers. And then uses join()
to combine the labels into a single text string with commas between each label - which can then be used in a note. These various functions are all described in the docs if you want to learn more.