Welcome to the LimeSurvey Community Forum

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

Remove a question from a survey

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 topic has been locked.
More
11 years 3 months ago - 11 years 3 months ago #90352 by Ben_V
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:
Code:
<script type="text/javascript" charset="utf-8">
  $(document).ready(function() {
    $('#javatbd14254X295X2205nc').hide();  
  });
</script>
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"

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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 3 months ago #90353 by DenisChenu
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

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.

Lime-years ahead

Online-surveys for every purse and purpose