Change "Always hide this question" for many questions simultaneously

More
1 year 9 months ago #164099 by kpatch
Hi:

I would like to change "Always hide this question" simultaneously for may questions at once. The questions are not necessarily consecutive nor are they necessarily in the same group.

Thanks for any insights or suggestions.

Patrick

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 year 9 months ago - 1 year 9 months ago #164171 by Joffm
Hi,
you can use the "massaction" plugin to change the relevance of these questions to "0".

Sorry, no other idea.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 9 months ago by Joffm.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #164218 by kpatch

Joffm wrote: you can use the "massaction" plugin to change the relevance of these questions to "0".


Joffm


I installed MassAction, but it doesn't appear anywhere in the Administrator's interface. Does MassAction work in V3.x. I'm using Version 3.1.0+180124.

Thanks

Patrick

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #164226 by jelo
The last change in code was in Januar 2017. I don't think the plugin is currently working with LS 3.

Under LS 2.X the "Mass actions"-plugin needs a activated QuickMenu core plugin.
But in LS 3 that seems to be integrated.
The GITHUB-Page states "LimeSurvey 2.53.0 or 2.06lts"

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 1 year 9 months ago by jelo.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #164242 by tpartner
Regardless, Patrick is asking about "Always hide this question" which is unrelated to relevance. As far as I know, there is no way to do that except for exporting the survey and doing a search/replace in the XML file.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #164249 by Joffm
Hi,

in case you have access to the database, you could:
1. use phpMyAdmin
2. write your own script

The only thing to do is the following sql statement:
INSERT INTO [your_lime_prefix]_question_attributes (qid,attribute,value) VALUES ([QuestionID], "hidden", 1);
You should delete this record before to be sure not to insert this record twice for the same question.
DELETE FROM [your_lime_prefix]_question_attributes WHERE qid=[QuestionID];

You can copy this statement - just change the QuestionID - and run it in one batch.

On the other side I do not think this is really necessary.
How much does it take to set - let's say - 100 questions to 'hidden'? 25 Minutes?

Best regards
Joffm


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

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #164251 by Joffm
Correction:

The DELETE statement is:
DELETE FROM [your_lime_prefix]_question_attributes WHERE (qid=[QuestionID]) AND (attribute='hidden');

Joffm


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

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #164280 by ollehar
Sorry, the MassAction plugin is not available for LS 3 yet.

Please Log in or Create an account to join the conversation.

More
3 weeks 3 days ago #191221 by jamarin

Joffm wrote: Hi,

On the other side I do not think this is really necessary.
How much does it take to set - let's say - 100 questions to 'hidden'? 25 Minutes?
/quote]

In my case hiding 100 questions means 1 hour and a half (and a lot of possibilities of missing something)
It is a pity that the Settings/list questions bulk options does not allow to hide/show several questions at once (or choose the scale when exporting to spss)
this kind of bulk actions may save me a lot of time configuring surveys

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!