Survey viewing questions in list

504
5
Jump to solution
01-14-2020 04:53 PM
JevitaWebster
New Contributor III

i'm creating a road grading form where you could pick from a list of roads from a select multiple in a repeater. I would like to have the selected roads to be visible so the person using the form knows what roads were selected in one area without cycling the repeater list.   

is this something that could be done? 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DougBrowning
MVP Esteemed Contributor

Take a look at join().  It will give a list of all your repeat values.

View solution in original post

5 Replies
DougBrowning
MVP Esteemed Contributor

Take a look at join().  It will give a list of all your repeat values.

SDDServcie_Account
New Contributor

im looking for any information on the Join(), where can i find this at? 

0 Kudos
DougBrowning
MVP Esteemed Contributor
0 Kudos
SDDServcie_Account
New Contributor

Join() seems to work, thanks. Now how do i grab the label of the question and not the name of the question 

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi, 

You can grab the label of a choice using the jr:choice-name() function.  In your workflow, it looks like you would use that function in a calculate field within the repeat section, and then use the calculate question (instead of the select question) in the join() function.  If doing this for a select_multiple, you will need to use jr:choice-name() for each choice selected; you can get the value of a choice using the selected-at() function.

0 Kudos