I am creating a survey and one of the questions is regarding items of aid respondents have received. This is a select all that apply question, however, there are two answers in here mutually exclusive; there are two different water filters that were supplied, everyone will only have been given one. I am trying to write a validation criteria code to make sure only one to the water filters has been selected and have tried the following:
not(selected(.,‘a’) and (selected(.,‘b’))
‘a’ and ‘b’ in this case being the name for the different water filters.
When previewing the survey, it now gives the error message as soon as any answer has been given to this question, regardless of that being ‘a’, ‘b’ or a completely different option.
Does anyone have any suggestions how to make this work?