Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Array question, rank with radio button.

Array question, rank with radio button. 3 years 6 months ago #94098

  • nicoillo
  • nicoillo's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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.
The administrator has disabled public write access.

Array question, rank with radio button. 3 years 6 months ago #94106

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6315
  • Thank you received: 1407
  • Karma: 546
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.246 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form