Welcome, Guest
Username: Password: Remember me

TOPIC: Two ranking questions, the second based on the first

Two ranking questions, the second based on the first 2 years 8 months ago #71768

  • Eddie_V
  • Eddie_V's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 2
  • Karma: 1
I have two ranking questions (both with the same answers to rank) in the first questions I ask the 5 most attractive and in the second I ask the 5 least attractive.

Is it possible to have the 5 most attractive options that the user selected in the first question to be removed/hidden/disabled from the second question?

Greetings
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71792

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4207
  • Thank you received: 791
  • Karma: 360
You can use a modification of this workaround.

You will need to add JavaScript to hide the multiple-options question and set it according to the ranking-1 choices.
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71796

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
This isn't possible without some Javascript.

A workaround might be to have an initial multiple choice question and ask the user to check the TOP5, then use array filter for the first ranking question and let the user rank those TOP5.
The use array filter exclusive for the second ranking question so that the previously checked items will not be listed.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71797

  • Eddie_V
  • Eddie_V's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 2
  • Karma: 1
thanks,

Wierd thing is that I looked at the workarround page.... guess I overlooked that part.
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71808

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
That "workaround" was just developed in my mind and not documentzed yet :-)

If it works fine for you, please add an example at manual -> workarounds.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71813

  • Eddie_V
  • Eddie_V's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • Thank you received: 2
  • Karma: 1
I was replying to tpartner :)

You posted yours while I was typing it. But I will keep that sollution in mind when I cannot get the ranking questions to work.
The administrator has disabled public write access.

Re: Two ranking questions, the second based on the first 2 years 8 months ago #71862

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
I see :-)

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image