Hide Some Array Answer Options

More
3 years 2 months ago #112508 by Mike1985_2
Mike1985_2 created the topic: Hide Some Array Answer Options
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;
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....

Please Log in to join the conversation.

More
3 years 2 months ago #112519 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #112535 by Mike1985_2
Mike1985_2 replied the 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: 3 years 2 months ago by Mike1985_2.

Please Log in to join the conversation.

More
3 years 2 months ago #112538 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 2 months ago #112542 by Mike1985_2
Mike1985_2 replied the topic: Hide Some Array Answer Options
Fair enough.

Well what do other people do? Surely I can't be the only one...

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!