Select to view content in your preferred language

How to Show Field Using OR Expression

599
2
09-02-2016 06:31 AM
mpboyle
Frequent Contributor

I've looked through what Survey123 documentation I can find and haven't found any example where you can show a field/question using an OR expression.  For example: show Question 1 if FieldA = 1 OR FieldA = 2.  I would think this is possible, but maybe not...?

0 Kudos
2 Replies
CarmelConnolly
Esri Regular Contributor

I've been able to do this with text values by using:

${FieldA} = 'choice1' or ${FieldA} = 'choice2' or ${FieldA} = 'choice3'

I wonder is yours not working because they're integers?

0 Kudos
mpboyle
Frequent Contributor

That was easy, and makes sense

0 Kudos