- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remove a question from a survey
- Sander
- Offline
- New Member
Less
More
11 years 3 months ago #90349
by Sander
Replied by Sander on topic Remove a question from a survey
Thanks Ben!
The last option might be the solution.
But where can i find that separate table ?
The last option might be the solution.
But where can i find that separate table ?
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
11 years 3 months ago - 11 years 3 months ago #90352
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Remove a question from a survey
For the last option (hide an answer option) you don't have to manage tables* only use javascript with a code similar than:
You have to look to the source code of your survey and adapt this snippet, with correct question type (radio, dropdown etc...) and IDs (search at the doc for SGQA code)
*Answer tables present in the database:
For current answers (active survey): "lime_survey_10000"
For old answers (includes date of desactivation): "lime_old_survey_10000_20121217110331"
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#javatbd14254X295X2205nc').hide(); }); </script>
*Answer tables present in the database:
For current answers (active survey): "lime_survey_10000"
For old answers (includes date of desactivation): "lime_old_survey_10000_20121217110331"
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last edit: 11 years 3 months ago by Ben_V.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
11 years 3 months ago #90353
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Remove a question from a survey
You can replace the answer by:
<span class="hide">Old answer</span>
The user with css activated don't see the answers, but when exporting it's OK.
Denis
<span class="hide">Old answer</span>
The user with css activated don't see the answers, but when exporting it's OK.
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 , plugin development .
I don't answer to private message.
The topic has been locked.