Hello all,
I used "or" to add another relevant to multiple question from select one question. However, I am not sure if this is correct solution or I need to used "selected" option.What is different between or and selected?
select_one parking_location
parking_location
Parking Location
select_multiple corral_maintenance
corral_maintenance
What is the state of the parking corral?
Select all that apply.
${parking_location}='sidewalk corral' or ${parking_location}='roadbed corral'
select_multiple corral_vehicles
corral_vehicles
How many other vehicles are in the corral?
Can you just post the form way easier to troubleshoot.
I tested with OR and it is working. interesting i couldn't find any articles about this and all videos just show one relevant option not multi ones like my issue .
@DougBrowning wrote:${parking_location} is a select _one though so this should work.
${parking_location} is a select _one though so this should work.
Hi. The selected() function is your friend here. Check the Common mistakes, errors and other tips section in https://community.esri.com/t5/arcgis-survey123-blog/understanding-multiple-choice-questions-in/ba-p/899006
The expressions you are currently using will only work if the user selects only one choice from the select_multiple question.
Looks ok to me. My guess is you are checking the label value and not the name value in your parking_locaiton list.
Other idea is I have seen weird errors when you use the same name for the list as the field. I usually add the word List to the end to be safe.
selected is just something you can use instead of =. Mostly used for select multiple since = would not work. Your or looks ok.
Hope that is it
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.