Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to Disable unused answers from following ranking question?

  • lsurvey20
  • lsurvey20's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #269211 by lsurvey20
Hi,
I know that this has been answered, and I found answers, downloaded a similar solution, but I am too dumb, to get it running. I hope for a brave soul that can help me. In my survey I first ask the people what conferences they attended, and than I wanted to put them the answers in the rank, they liked the conferences best. In the downloaded survey, I can see this:


in the survey I downloaded here in the forum. But I have no clue, where to place the conditions in the frontend.
I am trying to use the choices from Q00 to use this in Q00rank. I think this
Code:
(( ! is_empty(Q00_SQ001.NAOK))) (( ! is_empty(Q00_SQ002.NAOK))) (( ! is_empty(Q00_SQ003.NAOK))) (( ! is_empty(Q00_SQ004.NAOK))) (( ! is_empty(Q00_SQ005.NAOK))) (( ! is_empty(Q00_SQ006.NAOK))) (( ! is_empty(Q00_SQ007.NAOK))) (( ! is_empty(Q00_SQ008.NAOK)))

might/should(?) work, but I do not know where to place it. Here my survey:
 

File Attachment:

File Name: limesurvey...5887.lss
File Size:59 KB


Many thanks for the right pointer.

thank you
Jürgen
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 3 weeks ago #269212 by Joffm
Ach, Jürgen,

why didn't you ask this basic question in the German part?
Now both of us have to write English (without necessity)

Well,
you know that there is no subquestion relevance in ranking questions.
So:
first buzzword: array filter
second : array filter requires identical codes
as you read in the manual here
[url] www.limesurvey.org/manual/Question_type_...ilter_(array_filter) [/url]
The subquestion codes used in the first question must coincide with the subquestion codes from the second one. Otherwise, the array filter function will not filter the answers to the first question. Note: When you want to filter the "other" answer option from the first question, you need to provide a subquestion for this answer in the second question and the subquestion code for this answer needs to be "other". Check the below example to better understand how the whole system works.

Meaning the codes of your ranking question have to be
 
Now only the selected items are displayed in the ranking
   


Now something else:
1. 
  • I fully agree to "to long" and at the same time fully  deny "to short"
    I do not think this question type is the best to ask this question.
  • As you see 4 subquestions are selected . As these are radio buttons you can't remove a click. So the respondent can't proceed.
2.  
In my opinion it's a bit annoying that you start the question with an error message.
Don't set "Minimale Antwortzahl" to "1".
This is simply a mandatory question, the respondent must answer it.


Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose