Select to view content in your preferred language

Select_multiple_from_file selections to populate subsequent list from Inbox

141
3
3 weeks ago
CherylWheeler11
Occasional Contributor

Hi,

I have two forms  in a survey. The first has a select_multiple_from_file question. I want to use those selected records from this question to populate a list in a select_one_from_file question from the Inbox in a subsequent form (to be completed by a different person). 

 

Can anybody help in how I structure the select_one question in Form 2 to only show those selected records from the select_multiple_from_file question from Form1?

Many thanks

0 Kudos
3 Replies
abureaux
MVP Frequent Contributor

Sounds like you are trying to make choice_filter.

Survey123 Tricks of the Trade: Choice Filters

EDIT: There is also an Esri Sample built into Connect for choice filters, in case you didn't know to look there:

abureaux_0-1736196907198.png

 

0 Kudos
CherylWheeler11
Occasional Contributor

 Hi Abureaux

Thanks very much for your response. I am actually using a choice filter in Form one for the select_multiple_from_file.

What I am looking to do is use only those selected items from form1 in a select_one (maybe from the same file/maybe from a new choice list from the selection???) in a different question. So, the question is - how do I create a choice list from selected records?

Thanks again

0 Kudos
abureaux
MVP Frequent Contributor

To make sure I have the process correct:

  1. Form 1 has a select_multiple.
  2. User selects item from this list.
  3. User somehow moves from Form 1 to Form 2.
  4. Form 2 has a select_one which uses a choice_filter to only display the items selected in Form 1.

Assuming that is the case, there really isn't anything special that needs to be done. The only real question is how you move from Form 1 to Form 2. Essentially, you can just dump the output of the Form 1 select_multiple into either a hidden select_multiple or text question, and then reference that in the choice_filter of the Form 2 select_one.

0 Kudos