I have a ranking question where a user can rank three players in a sports team from 1 to 3. What I want to do is prevent a user (say using the lastname in their token) from selecting themself from the list of answers. Each player is in the list.
I need to be able to compare the users LASTNAME with the answer to see if they match, and if they do, prevent the user from selecting that answer.
The comparison is easy, but i dont know how to code it so they cant select themself.
for example I know I should code if(TOKEN:LASTNAME == 'Smith', R1_4 ... but what comes next to stop them being able to select it?
I need to be able to compare the users LASTNAME with the answer to see if they match, and if they do, prevent the user from selecting that answer.
The comparison is easy, but i dont know how to code it so they cant select themself.
for example I know I should code if(TOKEN:LASTNAME == 'Smith', R1_4 ... but what comes next to stop them being able to select it?