Answers embedded into the question

More
3 years 4 months ago #103360 by maxfagotto
maxfagotto created the topic: Answers embedded into the question
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

Please Log in to join the conversation.

More
3 years 4 months ago #103369 by DenisChenu
DenisChenu replied the 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:
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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now