Welcome to the LimeSurvey Community Forum

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

Only display the answer options in ranking if answer in array is in first column

More
7 years 1 month ago #171273 by kaugurs
Oh, sorry! I did not get that immediately.
THANK YOU A LOT! It works perfectly.
The topic has been locked.
More
6 years 9 months ago #176488 by murphyme
joffm: Thanks so much for your sample.
Anyone: If my first question is a drop-down list instead of an array, would my equation look like this instead?: {M1_SQ001=(if(Q1.NAOK=="A1","Y",""))}
The topic has been locked.
More
6 years 9 months ago #176502 by tpartner
Did you test it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
6 years 9 months ago #176766 by murphyme
For any non-programmers like myself out there, the answer to my question is "yes."

There are two issues with joffm's solution that can't be worked around from what I can tell, and they both relate to scale:
* In the survey's general settings, the Format must be set to question-by-question. Group-by-group will not work. Anyone who has developed advanced surveys will know that group-by-group is an important feature.
* If you download and preview joffm's survey, you'll see that even though the "hidden" rank options don't appear, the survey still maintains the space for them within the control's frame. Similar to CSS property visibility: hidden versus display: none. Several hidden options are fine, but at some point the amount of white space is too much.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose