Welcome to the LimeSurvey Community Forum

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

Answers embedded into the question

  • maxfagotto
  • maxfagotto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #103360 by maxfagotto
Answers embedded into the question was created by maxfagotto
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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 10 months ago #103369 by DenisChenu
Replied by DenisChenu on topic Answers embedded into the question
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:
Code:
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 development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose