Survey viewing questions in list

96
5
Jump to solution
01-14-2020 04:53 PM
Highlighted
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)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent Contributor II

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

View solution in original post

5 Replies
Highlighted
Frequent Contributor II

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

View solution in original post

Highlighted
New Contributor

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

Reply
0 Kudos
Highlighted
Frequent Contributor II
Reply
0 Kudos
Highlighted
New Contributor

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

Reply
0 Kudos
Highlighted
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.

Reply
0 Kudos