fixed form dashes

This commit is contained in:
crava2199 2024-12-16 09:32:37 +01:00
parent afe9ebcc66
commit 996d403ac3
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
"@jspsych/plugin-survey-multi-choice": minor
---
Fixed multiple form in page handling

View File

@ -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