Welcome to the LimeSurvey Community Forum

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

Hide Some Array Answer Options

  • Mike1985_2
  • Mike1985_2's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #112508 by Mike1985_2
Hide Some Array Answer Options was created by Mike1985_2
Here is my problem;

My colleagues designing the questionaires want to block out certain answer options in certain array questions. For example, they might ask "How do you feel about the following...." and then a list of different topics and a agree to disagree scale with an N/A option at the end... but the N/A is not always applicable.

What is the best way of hiding them?

At the moment, my colleagues add the following rules to the template.css;
Code:
input#answer57645X1024X22294A001-6 {visibility:hidden; display:none;}

That does the trick but it feels like a bit of a bodge and not a proper solution. The annoying thing is that they have to make a COPY of that template in order to be able to add to the stylesheet as they're not programmers and can't do it themselves (well, shouldn't do it themselves!) and I'm too busy to keep manually doing it for them.

So what alternative is there? I'm using version 1.90. Is there a proper solution for this in later versions?

Is there a way to allow standard templates to be writable so they don't have to make copies (it sounds like a bad idea even as I'm typing it!)

I'm open to suggestions....
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 2 months ago #112519 by DenisChenu
Replied by DenisChenu on topic Hide Some Array Answer Options
Hi,

Maybe www.limesurvey.org/en/extensions/75-hideemptycolumn

But you need to use another sentence than NA.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Mike1985_2
  • Mike1985_2's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago - 10 years 2 months ago #112535 by Mike1985_2
Replied by Mike1985_2 on topic Hide Some Array Answer Options
I've attached an example so you can see what I mean. You notice the 3 options that don't actually appear (I have put a red box around them so you can see). Will this plugin acheive the same result? Will my users be able to do this through the admin front-end?

I don't actually know about using plugins or extensions so I'll have to read up on them.
Attachments:
Last edit: 10 years 2 months ago by Mike1985_2.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 2 months ago #112538 by DenisChenu
Replied by DenisChenu on topic Hide Some Array Answer Options

Mike1985_2 wrote: Will this plugin acheive the same result?

No,

ANd don't kno how to do this in plugin.

Alternative : use javascript inside question text:
$("#answer{SGQ}A001-6").hide();

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Mike1985_2
  • Mike1985_2's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #112542 by Mike1985_2
Replied by Mike1985_2 on topic Hide Some Array Answer Options
Fair enough.

Well what do other people do? Surely I can't be the only one...
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose