Select to view content in your preferred language

Survey 123 select_multiple

685
3
08-15-2018 08:48 PM
JevitaWebster
New Contributor III

Can a quantity field be added to items in a select_multiple field?

Ex:If A is selected, then a list of items will show. For each item selected a quantity can be added.

Tags (1)
0 Kudos
3 Replies
ClaireProctor
Occasional Contributor

Hi Jevita,

What you could do is implement individual fields for every choice in the select multiple question, and hide them by using the selected() function in the relevant column, which only shows a question if a particular select_one or select_multiple option has been selected. For example, with a select multiple list of different fruits, you could have separate questions for the quantities of apples, bananas and pears, and hide them by putting the following into the relevant column for each one:

selected(${fruits}, 'apple')

selected(${fruits}, 'banana')

selected(${fruits}, 'pear')

IsmaelChivite
Esri Notable Contributor

Attaching an example.

JevitaWebster
New Contributor III

My list is more like a template for a job function.

EX, If the user used a "Sand Filter" There is a general tool list they use, but the quantity of each item in the list changes depending on the job. 

In my form, if the user clicks "YES" to using "Sand Filters" then the tool list will show, and they will need to just add how many of what tools were used. 

0 Kudos