Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Remove a question from a survey

Remove a question from a survey 3 years 11 months ago #90349

  • Sander
  • Sander's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Thanks Ben!

The last option might be the solution.
But where can i find that separate table ?
The administrator has disabled public write access.

Remove a question from a survey 3 years 11 months ago #90352

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 467
  • Karma: 118
For the last option (hide an answer option) you don't have to manage tables* only use javascript with a code similar than:
<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
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 3 years 11 months ago by Ben_V.
The administrator has disabled public write access.

Remove a question from a survey 3 years 11 months ago #90353

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9555
  • Thank you received: 1373
  • Karma: 389
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 (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.222 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form