Select multiple answer list by labels

754
3
05-09-2019 12:39 PM
AlainChouinard
New Contributor III

The select multiple answer is a list of the choices NAMES separated by a comma (ex. Sol,Egout,Baril). How could I get a list of the corresponding labels (ex. Rejet au sol,Rejet à l'égout,Baril) ?

Thanks !

0 Kudos
3 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Alain,

You can construct a list of the selected choices by concatenating multiple jr:choice-name() functions.

0 Kudos
AlainChouinard
New Contributor III

Thanks James,

But is there a way to handle undesired commas between each jr:choice-name functions ?

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Alain,

Because you are manually concatenating the values, you can use any separator you would like - commas, spaces, etc.

0 Kudos