Avoiding Duplicates in consecutive related variables

What is the problem? Please be detailed.
I have three consecutive variables where the user must rank first, second and third from the same list but without duplicating any selection. Each variable has 8 select_one options

What ODK tool and version are you using? And on what device and operating system version?
I am using XLS forms

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?
Have tried using this on the constraints such that variable1 cannot be the same as variable2 and same applies for variable3 (. <> q15constraints_first) or(. <> q15constraints_second) Have tried
Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

I think your constraints should look something like . != ${first} and . != ${third} for the second value and . != ${first} and . != ${second} for the third one.

1 Like

Thank you Helene, this will go a long way to ensuring data quality of a high class

1 Like