Select to view content in your preferred language

Survey 123 - Accessing 'Group' of previously answered question

999
1
06-21-2017 04:30 PM
AnthonyCheesman1
Frequent Contributor

Hello

I'm working on developing a survey for vehicle pre start checklists. We operate a number of different vehicle types, and depending on the type of vehicle, I would like the user to be prompted with a particular start up checklist.

Currently I have a choices list called 'vehicle list', with the name field being the vehicle registration, and the label field being a longer description of the vehicle. I have added an additional column called 'group' which describes which checklist the vehicle should complete.

My question is - can I access this 'group' column somehow later in my form in the 'RELEVANT' field to determine whether a question is displayed?

If I could ask this a different way - instead of having to check for individual registration numbers (eg ${VEHICLE} = "ABC123" or ${VEHICLE} = "BCD234" or ${VEHICLE} = "CDE345") - is there an expression I could use along the lines of ${VEHICLE}.group = "fleet" (where 'fleet' is the name of the checklist type / relates to the 'group' column I added earlier).

Thank you in advance!

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi Anthony,

Would you be able to share (upload) a copy of your survey to further understand the requirement and use case?

From your explanation above I can't conclude if you have tried this already, but have you tried using a cascading select (choice list) with the group list you created, and then referencing the group in the choice_filter column.

More information about cascading selects and choice_filter can be found here: https://community.esri.com/groups/survey123/blog/2015/10/22/cascading-selects-and-external-selects 

Regards,

Phil.

0 Kudos