#1 by KaylaA
Hi, In my experiment, subjects need to rank three different choices in the order of desirability. But they should not select the same choice more than once. (For example, they should not select 'A,A,A' or 'A,B,B') So I want to grey out the selected choice and give error messages when subjects choose the same choice. Does anyone have an advice as to greying out a choice that has been chosen already or prevent subjects from selecting same choice more than once? Any advice will be much appreciated!
#2 by Chris_oTree
Take a look at rank_topN in otree-snippets.
#3 by KaylaA
Figured it out. Thank you!