Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Answers embedded into the question

Answers embedded into the question 2 years 6 months ago #103360

  • maxfagotto
  • maxfagotto's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Thank you received: 1
  • Karma: 0
Can I create a question type with the answers embedded into the question itself
As an example:

"Complete with the right date
World war II start from ....... to .........."

Thanks
The administrator has disabled public write access.

Answers embedded into the question 2 years 6 months ago #103369

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9254
  • Thank you received: 1319
  • Karma: 382
Hi,

Not by default, but you can hack this with a multi question text and some javascripting ..

Multi text question type for example : QQ, and sq code Q1 and Q2:
Something like that:
World war II start from <span id="QQSQ1"></span> to <span id="QQSQ2"></span>
<script>
$(function() {
$("#answer{SGQ}Q1").appendTo("#QQSQ1");
$("#answer{SGQ}Q2").appendTo("#QQSQ2");
});
</script>
Not tested , see jquery and manual if it don't work.

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.
Moderators: ITEd
Time to create page: 0.206 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form