- Posts: 27
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change "Always hide this question" for many questions simultaneously
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
6 years 2 months ago #164099
by kpatch
Change "Always hide this question" for many questions simultaneously was created 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
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
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12909
- Thank you received: 3975
6 years 2 months ago - 6 years 2 months ago #164171
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change "Always hide this question" for many questions simultaneously
Hi,
you can use the "massaction" plugin to change the relevance of these questions to "0".
Sorry, no other idea.
Joffm
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: 6 years 2 months ago by Joffm.
The topic has been locked.
- kpatch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
6 years 2 months ago #164218
by kpatch
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
Replied by kpatch on topic Change "Always hide this question" for many questions simultaneously
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
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
6 years 2 months ago - 6 years 2 months ago #164226
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Change "Always hide this question" for many questions simultaneously
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"
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: 6 years 2 months ago by jelo.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10104
- Thank you received: 3593
6 years 2 months ago #164242
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Change "Always hide this question" for many questions simultaneously
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.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12909
- Thank you received: 3975
6 years 2 months ago #164249
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change "Always hide this question" for many questions simultaneously
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:
You should delete this record before to be sure not to insert this record twice for the same question.
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
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:
Code:
INSERT INTO [your_lime_prefix]_question_attributes (qid,attribute,value) VALUES ([QuestionID], "hidden", 1);
Code:
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
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12909
- Thank you received: 3975
6 years 2 months ago #164251
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change "Always hide this question" for many questions simultaneously
Correction:
The DELETE statement is:
Joffm
The DELETE statement is:
Code:
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
The topic has been locked.
- ollehar
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 522
- Thank you received: 108
6 years 2 months ago #164280
by ollehar
Replied by ollehar on topic Change "Always hide this question" for many questions simultaneously
Sorry, the MassAction plugin is not available for LS 3 yet.
The topic has been locked.
- jamarin
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 5 months ago #191221
by jamarin
Replied by jamarin on topic Change "Always hide this question" for many questions simultaneously
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
The topic has been locked.