I have a select multiple question that has the following options:
red, black, blue, orange, unknown, refused
If someone selects unknown and/or refused, I want them to not be able to select red, black, blue, orange.
currently I have this:
| not(selected(.,'refused') or selected(.,'unknown') and (selected(.,'red') or selected(.,'black') or selected(.,'blue') or selected(.,'orange'))) |
It seemed to work fine, but I now noticed if you select refuse alone it will throw my contstraint message.
Any input?