Data label export from multiple choices question type

95
0
07-19-2022 08:44 AM
lourymello1
New Contributor II

Hello, could some one help me? 

I did a form survey with somes select_multiple question type and when I export the collect data to feature layer the answers shows up just a code name of choices and I need to shows up a label. I found a way to do it creating a hide question type with  follow function:

jr:choice-name(selected-at(${cultura_cobertura}, 0), '${cultura_cobertura}') + (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 1), '${cultura_cobertura}') + (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 2), '${cultura_cobertura}')+ (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 3), '${cultura_cobertura}')+ (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 4), '${cultura_cobertura}')+ (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 5), '${cultura_cobertura}')+ (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 6), '${cultura_cobertura}')+ (', ') + jr:choice-name(selected-at(${cultura_cobertura}, 7), '${cultura_cobertura}')

 

That is works, but I woud like to improve how to bring the commas. 

And I also would like to know if there is some easy way to do this because I have a some others select_multi question with a lot choice names. 

 

 Thanks!!!

0 Kudos
0 Replies