Is it possible to detect in real-time when a list item is selected, so the relevant list is displayed.
Thank you for any help you may give.
Solved! Go to Solution.
the selected() formula can be used in the relevant column to accomplish this.
Formulas—ArcGIS Survey123 | Documentation
Function Description Example
selected(question, value) | Checks whether answer is selected. Used for select_one and select_multiple questions. | selected(${question_one}, 'a') |
the selected() formula can be used in the relevant column to accomplish this.
Formulas—ArcGIS Survey123 | Documentation
Function Description Example
selected(question, value) | Checks whether answer is selected. Used for select_one and select_multiple questions. | selected(${question_one}, 'a') |
if the question is for a select multiples, you can use the selected function in combination : selected(${SelectTask}, 'Plant') or selected(${SelectTask}, 'Prune'). You can also use the regex() regex(${SelectTask}, 'Prune') more info here: https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION2_BED1A39...
JB
Thanks to both of you. It turned out that the enumeration value for "Plant" was needed to make this work.
So, it turned that ${list_task}=9 worked.
Thanks again.
Glad it works...FYI. if the question is passing "9" as value that will be the value for the record capture on the survey table. If you want the actual "Task" type to be capture, you have to change the name or for the list or use another field to capture the label using calculate field. jr:choice-name(${fieldname}, '${fieldname}')
JB