Skip to content
Snippets Groups Projects
Commit f9b7b982 authored by Anthony's avatar Anthony
Browse files

Sample of Survey with summary at the end

parent 0cffd0a9
No related branches found
No related tags found
No related merge requests found
Pipeline #2071 passed
{
"title": "Fill-in-the-Blank Survey",
"description": "Complete the sentence by selecting the correct words for each blank.",
"correctComment": "Well done! All your answers are correct.",
"incorrectComment": "Some of your answers are incorrect. Please try again.",
"pages": [
{
"name": "page1",
"elements": [
{
"type": "html",
"name": "sentence_part1",
"html": "The quick",
"startWithNewLine": false
},
{
"type": "dropdown",
"name": "blank1",
"titleLocation": "hidden",
"isRequired": true,
"showClearButton": false,
"correctAnswer": "quick",
"startWithNewLine": false,
"name": "pg310_1",
"type": "radiogroup",
"title": "<div><audio id=\"e29anj_s1lc_remarque_accen1_13_1.mp3\"><source src=\"/macao-hugo/media/e29anj_s1lc_remarque_accen1/e29anj_s1lc_remarque_accen1_13.mp3\" type=\"audio/mpeg\"></audio><button onclick=\"document.getElementById('e29anj_s1lc_remarque_accen1_13_1.mp3').play()\" class=\"notext\">Play</button> AAA</div>",
"choices": [
{ "value": "quick", "text": "Quick" },
{ "value": "slow", "text": "Slow" },
{ "value": "sleepy", "text": "Sleepy" }
]
},
{
"type": "html",
"name": "sentence_part2",
"html": "fox",
"startWithNewLine": false
"value": 0,
"text": "Test 1;"
},
{
"type": "dropdown",
"name": "blank2",
"titleLocation": "hidden",
"isRequired": true,
"showClearButton": false,
"correctAnswer": "jumps",
"startWithNewLine": false,
"choices": [
{ "value": "jumps", "text": "Jumps" },
{ "value": "sleeps", "text": "Sleeps" },
{ "value": "walks", "text": "Walks" }
"value": 1,
"text": "Test 1;"
}
],
"correctAnswer": 0
}
]
},
{
"type": "html",
"name": "sentence_part3",
"html": "over the lazy",
"startWithNewLine": false
},
"elements": [
{
"type": "dropdown",
"name": "blank3",
"titleLocation": "hidden",
"isRequired": true,
"showClearButton": false,
"correctAnswer": "dog",
"startWithNewLine": false,
"name": "pg310_2",
"type": "radiogroup",
"title": "<div><audio id=\"e29anj_s1lc_remarque_accen1_13_2.mp3\"><source src=\"/macao-hugo/media/e29anj_s1lc_remarque_accen1/e29anj_s1lc_remarque_accen1_13.mp3\" type=\"audio/mpeg\"></audio><button onclick=\"document.getElementById('e29anj_s1lc_remarque_accen1_13_2.mp3').play()\" class=\"notext\">Play</button> BBB</div>",
"choices": [
{ "value": "dog", "text": "Dog" },
{ "value": "cat", "text": "Cat" },
{ "value": "mouse", "text": "Mouse" }
]
{
"value": 0,
"text": "&Test 1;"
},
{
"type": "html",
"name": "sentence_part4",
"html": ".",
"startWithNewLine": false
"value": 1,
"text": "Test1;"
}
],
"correctAnswer": 0
}
]
}
],
"showQuestionNumbers": "off",
"completedHtml": "Thank you for completing the survey!"
"goNextPageAutomatic": true,
"showQuestionNumbers": "none",
"isSurveySummaryVisible": true,
"processValue": true
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment