Refer to repeat entry

297
2
09-29-2023 07:38 AM
jshull
by
New Contributor

I'm attempting to utilize an entry in a repeat loop.  The entry is an alpha-numeric text that associates the name of the entry to a range of fields.  A series of questions are nested in a repeat loop and utilizes several select_one's and select_multiple, all of these parameters should correspond to one single repeat entry.  

I want to use this data and select the entry name as a reference for calling corresponding data, ideally in a drop box, like select_multiple.

In short:  Assign a select_multiple with answers from a repeat loop in current survey.

 

Can anyone shed some light on how this can be accomplished?

0 Kudos
2 Replies
abureaux
MVP Regular Contributor

Potentially. While convoluted, by using a series of choice_filter to build out your list, this could be achieved. Really depends on your set-up.

Here is a good resource: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-...

0 Kudos
DougBrowning
MVP Esteemed Contributor

We had someone here try this.  It ended up being super slow but it was a huge list with lots of parts.  

He was using regex which I am still not sure why it works but it did.

Have a field outside the repeat the first repeat that tracks the choices using join(",",${AddPlants})

Then in the list you use regex in the choice filter  regex(${SpeciesListJoin}, name)

So basically making a big choice filter list.

Hope that makes some sense.

0 Kudos