mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
fixed form dashes
This commit is contained in:
parent
afe9ebcc66
commit
996d403ac3
5
.changeset/rare-years-draw.md
Normal file
5
.changeset/rare-years-draw.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@jspsych/plugin-survey-multi-choice": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed multiple form in page handling
|
@ -150,9 +150,7 @@ class SurveyMultiChoicePlugin implements JsPsychPlugin<Info> {
|
|||||||
if (trial.autocomplete) {
|
if (trial.autocomplete) {
|
||||||
html += `<form id="${trial_form_id}">`;
|
html += `<form id="${trial_form_id}">`;
|
||||||
} else {
|
} else {
|
||||||
html += `---------
|
html += `<form id="${trial_form_id}" autocomplete="off">`;
|
||||||
<form id="${trial_form_id}" autocomplete="off">
|
|
||||||
---------`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate question order. this is randomized here as opposed to randomizing the order of trial.questions
|
// generate question order. this is randomized here as opposed to randomizing the order of trial.questions
|
||||||
|
Loading…
Reference in New Issue
Block a user