Concatenate answers to a question?

Is there a best practice way to concatenate answers to a multiple choice question? For example if the user wants to choose more than one language in the following question, is it possible to code the clause to say “English”, “English and Lithuanian”, “Hungarian, Lithuanian, and Polish”, etc depending on the languages the user selects?
image

Hi Chuck,

For any “list of texts” datafield (or any “repeating list” datafield), you can use the @enumerate special function set to list the values in such datafield.

By way of example: for the datafield #notices^language you could write @enumerate-and(#notices^language). If the user then selects Hungarian, Lithuanian and Polish, the clause text will show: "Hungarian, Lithuanian and Polish".

1 Like

Excellent. You folks have thought of everything! :smiley:

1 Like