# Array question, rank with radio button.

4 years 3 months ago #94098 by nicoillo
nicoillo created the topic: Array question, rank with radio button.
Hi, i have an array question with 5 answer, and each answer has 5 radio button (1, 2, 3, 4, 5).

I've set a question validation equation like this:

((Q05_SQ001 != Q05_SQ002) AND (Q05_SQ001 != Q05_SQ003) AND (Q05_SQ001 != Q05_SQ004) AND (Q05_SQ001 != Q05_SQ005) AND (Q05_SQ002 != Q05_SQ001) AND (Q05_SQ002 != Q05_SQ003) AND (Q05_SQ002 != Q05_SQ004) AND (Q05_SQ002 != Q05_SQ005) AND (Q05_SQ003 != Q05_SQ001) AND (Q05_SQ003 != Q05_SQ002) AND (Q05_SQ003 != Q05_SQ004) AND (Q05_SQ003 != Q05_SQ005) AND (Q05_SQ004 != Q05_SQ001) AND (Q05_SQ004 != Q05_SQ002) AND (Q05_SQ004 != Q05_SQ003) AND (Q05_SQ004 != Q05_SQ005) AND (Q05_SQ005 != Q05_SQ001) AND (Q05_SQ005 != Q05_SQ002) AND (Q05_SQ005 != Q05_SQ003) AND (Q05_SQ005 != Q05_SQ004))

with relative tip. In this way the user cannot choose the same valutation in two different answer. (I know, it's awful, but it works fine.)

What I'm looking for is that when I click on radiobutton \$N in the answer %B if there are other answers with radiobutton \$N setted, these radiobuttons has to became unset.

How can I do that?! Thank you.

4 years 3 months ago #94106 by tpartner
tpartner replied the topic: Array question, rank with radio button.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.