私は基本的にポップアップリクエストレスポンスを作成して、多肢選択式の質問に答えられない場合でも参加者に通知しますが、テキスト)。ヘッダでJSを使用してQualtricsで未回答の複数選択肢のカスタムポップアップ
$(document).ready(function() {
// Identify this question
var thisQuestion = $('#question{QID28}');
// Interrupt the Next/Submit click
$('#movenextbtn, #movesubmitbtn').bind('click', function() {
var unanswered = false;
// Loop through all inputs
$('input.text', thisQuestion).each(function(i) {
var thisValue = $(this).val();
if(thisValue == null) {
unanswered = true;
}
});
// Pop up confirm if we found an unanswered item
var cont = true;
if(unanswered == true) {
cont = confirm('You have an unanswered item.\nDo you want to continue?');
}
return cont;
});
});
私は、次のしている:これは私が遊んでてきたが、私はそれを動作させることができていないものです(これは質問ID 28用です)
<script type="text/javascript" charset="utf-8"> </script>
誰かが正しい方向に私を指し示すことができますか、このコードの何が間違っているか教えてください。私はそれが多肢選択応答が選択されていることを確認するために適切に構成されていないと思うが、ここからどこに行くのか分からない。