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 7 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 7 months ago #90352

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
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 => bit.ly/20NW9V8 (already included in /docs/demosurveys)
Last Edit: 3 years 7 months ago by Ben_V.
The administrator has disabled public write access.

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

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9259
  • Thank you received: 1320
  • Karma: 382
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.370 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form