I am trying to the following Esri Technical Support example/logic https://support.esri.com/en/technical-article/000020969 as a template in my survey. However instead comparing one option to another I am trying to modify the formula example to check from the following choices
1) ImpairedHearing
2) ImpairedVision
3) Developmental/CognitiveDisability
4) DifficultyUnderstandingEnglish
5) DifficultyUnderstandingWrittenMaterial
6) NoneAbove
7) DontKnow
8)Refused
but want to use the following options 6) NoneAbove, 7) Don'tKnow, or 8)Refused to compare with one of the 1-5 choices.
I have tried the following formula:
not(selected(., ‘ImpairedHearing’,'ImpairedVision', 'Developmental/CognitiveDisability', 'DifficultyUnderstandingEnglish', 'DifficultyUnderstandingWrittenMaterial' ) or selected(., 'NoneAbove') or selected(., 'DontKnow') or selected(., 'Refused'))
it works sometimes but sometimes it doesn't. I have also tried using and instead of or and that hasn't worked either. Is there a way create a constraint with this type of logic?