Ask the community, share ideas, and connect with other LimeSurvey users!
[code] if ($('.input-error').length > 0 || $('.ls-em-error').length > 0 || $('.question-container').length > 0) { $('#bootstrap-alert-box-modal').on('hidden.bs.modal', function () { var $firstError = ($('.input-error').length > 0) ? $('.input-error').first() : $('.ls-em-error').first(); var $firstUnanswered = $('.question-container').filter(function () { // Check if the question is unanswered var $inputs = $(this).find('input, textarea, select'); var isUnanswered = true; $inputs.each(function () { if ($(this).is(':checkbox, :radio')) { // If it is a checkbox or radio button, check if at least one option is selected if ($(this).is(':checked')) { isUnanswered = false; return false; // Exit the loop } } else if ($(this).is('select')) { // If it is a dropdown box, check if there is a selected option if ($(this).val()) { isUnanswered = false; return false; // Exit the loop } } else { // If it is an input box or text area, check if there is a value if ($(this).val().trim()) { isUnanswered = false; return false; // Exit the loop } } }); return isUnanswered; }).first(); // If there is an error, scroll to the error position first; otherwise, scroll to the first unanswered question var $target = $firstError.length ? $firstError : $firstUnanswered; if ($target.length) { var $pixToScroll = $target.offset().top - 100; // Adjust the scroll position $('html, body').animate({ scrollTop: $pixToScroll + 'px' }, 'fast'); // Highlight the target element (optional) $target.css('border', '2px solid red'); } }); } });
<!-- Start of the main Form--> <form id="limesurvey" name="limesurvey" autocomplete="off" class="survey-form-container form" action="/index.php/577482" method="post"> <input type="hidden" value="WFl3OWxWVXVmbEV1TVBqVXRUZ0pQUHhKYkFjc1FWX2MvM_BbiyWpmvxzmHz3Nr9_A-YKDtvxvsoXVKG8kJESwQ==" name="YII_CSRF_TOKEN" /> <!-- Ajax value --> <!-- Needs to be set by javascript! Because if JavaScript is disabled, ajaxmode will completely fail! --> <!-- Field Names --> <input type='hidden' name='fieldnames' value='577482X4X24|577482X4X25|577482X4X26|577482X4X27|577482X4X28|577482X4X29|577482X4X30|577482X4X31|577482X4X32|577482X4X33|577482X4X34' id='fieldnames' /> <input id="thisstep" type="hidden" value="2" name="thisstep" /><input id="sid" type="hidden" value="577482" name="sid" /><input id="start_time" type="hidden" value="1741050467" name="start_time" /><input id="LEMpostKey" type="hidden" value="665002237" name="LEMpostKey" /> <!-- Submit button --> <button type="submit" id="defaultbtn" value="default" name="move" class="submit d-none" style="display:none">默认</button> <!-- main form --> <!-- emScriptsAndHiddenInputs updated --> <input type='hidden' id='relevance24' name='relevance24' value='1'/> <input type='hidden' id='relevance25' name='relevance25' value='1'/> <input type='hidden' id='relevance26' name='relevance26' value='1'/> <input type='hidden' id='relevance27' name='relevance27' value='1'/> <input type='hidden' id='relevance28' name='relevance28' value='1'/> <input type='hidden' id='relevance29' name='relevance29' value='1'/> <input type='hidden' id='relevance30' name='relevance30' value='1'/> <input type='hidden' id='relevance31' name='relevance31' value='1'/> <input type='hidden' id='relevance32' name='relevance32' value='1'/> <input type='hidden' id='relevance33' name='relevance33' value='1'/> <input type='hidden' id='relevance34' name='relevance34' value='1'/> <input type='hidden' id='relevanceG0' name='relevanceG0' value='1'/> <input type='hidden' id='aQuestionsWithDependencies' data-qids='' /> <!-- No JavaScript alert --> <div class=' ls-js-hidden warningjs alert alert-danger ' data-type='checkjavascript'> 请注意:您的浏览器已禁用本站JavaScript。您可能无法回答问卷调查所有的问题。请核实浏览器参数。 </div> <!-- Welcome Message --> <div id="welcome-container" class="" > <!-- Survey Name --> <h1 class=" survey-name text-center" > 教师教育情况调查 </h1> <!-- Survey description --> <div class=" survey-description text-info text-center" > <p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-family:宋体">亲爱的同学们,你们好!</span></span></span></p> <p style="text-indent:24.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-family:宋体">你的成长一定伴随着老师们艰辛的劳动,相信在老师们孜孜不倦的教育教学和你自己的努力下,你又有了可喜的变化。在你收获成绩、体验成功快乐的时刻,为了你们的健康成长,请你如实回答以下问题,谢谢!</span></span></span></p> </div> <!-- Welcome text --> <div class=" survey-welcome h5 text-primary" > </div> <!-- Question count --> <div class=" number-of-questions text-muted" > <div class=' question-count-text ' > 本问卷有11个问题。 </div> </div> </div> <!-- Privacy message --> <div class=" privacy row" > <div class=" col-12 col-centered" > </div> </div> <!-- START OF GROUP: 我的第一个问题组 --> <div id='group-0' class=" group-outer-container space-col" > <div class=" group-container space-col" > <!-- Group Name --> <!-- PRESENT THE QUESTIONS --> <!-- Question 24 --> <div id="question24" class="row list-radio mandatory question-container " > <!-- Question G01Q01 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 1 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X24" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">你能感受到该老师的关心爱护吗?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X24"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X24AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X24" id="answer577482X4X24AO01" onclick="if (document.getElementById('answer577482X4X24othertext') != null) document.getElementById('answer577482X4X24othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X24AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X24AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X24" id="answer577482X4X24AO02" onclick="if (document.getElementById('answer577482X4X24othertext') != null) document.getElementById('answer577482X4X24othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X24AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X24AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X24" id="answer577482X4X24AO03" onclick="if (document.getElementById('answer577482X4X24othertext') != null) document.getElementById('answer577482X4X24othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X24AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X24AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X24" id="answer577482X4X24AO04" onclick="if (document.getElementById('answer577482X4X24othertext') != null) document.getElementById('answer577482X4X24othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X24AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X24" disabled="disabled" type="hidden" value="" name="java577482X4X24" /> <!-- end of answer --> </div> <!-- End of question G01Q01 --> </div> <!-- End of question 24 --> <!-- Question 25 --> <div id="question25" class="row list-radio mandatory question-container " > <!-- Question G01Q02 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 2 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X25" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">该老师是否有对学生罚站、罚抄、打骂,甚至人格侮辱的情况?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_25" > <div id='vmsg_25_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X25"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X25AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X25" id="answer577482X4X25AO01" onclick="if (document.getElementById('answer577482X4X25othertext') != null) document.getElementById('answer577482X4X25othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X25AO01" class="control-label radio-label"> 没有 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X25AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X25" id="answer577482X4X25AO02" onclick="if (document.getElementById('answer577482X4X25othertext') != null) document.getElementById('answer577482X4X25othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X25AO02" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X25AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X25" id="answer577482X4X25AO03" onclick="if (document.getElementById('answer577482X4X25othertext') != null) document.getElementById('answer577482X4X25othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X25AO03" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X25AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X25" id="answer577482X4X25AO04" onclick="if (document.getElementById('answer577482X4X25othertext') != null) document.getElementById('answer577482X4X25othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X25AO04" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X25" disabled="disabled" type="hidden" value="" name="java577482X4X25" /> <!-- end of answer --> </div> <!-- End of question G01Q02 --> </div> <!-- End of question 25 --> <!-- Question 26 --> <div id="question26" class="row list-radio mandatory question-container " > <!-- Question G01Q03 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 3 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X26" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">该老师是否及时对个别学生违纪违规的行为进行耐心、严肃地批评教育?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_26" > <div id='vmsg_26_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X26"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X26AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X26" id="answer577482X4X26AO01" onclick="if (document.getElementById('answer577482X4X26othertext') != null) document.getElementById('answer577482X4X26othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X26AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X26AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X26" id="answer577482X4X26AO02" onclick="if (document.getElementById('answer577482X4X26othertext') != null) document.getElementById('answer577482X4X26othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X26AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X26AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X26" id="answer577482X4X26AO03" onclick="if (document.getElementById('answer577482X4X26othertext') != null) document.getElementById('answer577482X4X26othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X26AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X26AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X26" id="answer577482X4X26AO04" onclick="if (document.getElementById('answer577482X4X26othertext') != null) document.getElementById('answer577482X4X26othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X26AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X26" disabled="disabled" type="hidden" value="" name="java577482X4X26" /> <!-- end of answer --> </div> <!-- End of question G01Q03 --> </div> <!-- End of question 26 --> <!-- Question 27 --> <div id="question27" class="row list-radio mandatory question-container " > <!-- Question G01Q04 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 4 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X27" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">该老师是否能够按时下课不拖堂?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_27" > <div id='vmsg_27_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X27"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X27AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X27" id="answer577482X4X27AO01" onclick="if (document.getElementById('answer577482X4X27othertext') != null) document.getElementById('answer577482X4X27othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X27AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X27AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X27" id="answer577482X4X27AO02" onclick="if (document.getElementById('answer577482X4X27othertext') != null) document.getElementById('answer577482X4X27othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X27AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X27AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X27" id="answer577482X4X27AO03" onclick="if (document.getElementById('answer577482X4X27othertext') != null) document.getElementById('answer577482X4X27othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X27AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X27AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X27" id="answer577482X4X27AO04" onclick="if (document.getElementById('answer577482X4X27othertext') != null) document.getElementById('answer577482X4X27othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X27AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X27" disabled="disabled" type="hidden" value="" name="java577482X4X27" /> <!-- end of answer --> </div> <!-- End of question G01Q04 --> </div> <!-- End of question 27 --> <!-- Question 28 --> <div id="question28" class="row list-radio mandatory question-container " > <!-- Question G01Q05 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 5 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X28" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">你对该老师的课堂管理是否满意?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_28" > <div id='vmsg_28_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X28"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X28AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X28" id="answer577482X4X28AO01" onclick="if (document.getElementById('answer577482X4X28othertext') != null) document.getElementById('answer577482X4X28othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X28AO01" class="control-label radio-label"> 满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X28AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X28" id="answer577482X4X28AO02" onclick="if (document.getElementById('answer577482X4X28othertext') != null) document.getElementById('answer577482X4X28othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X28AO02" class="control-label radio-label"> 较满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X28AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X28" id="answer577482X4X28AO03" onclick="if (document.getElementById('answer577482X4X28othertext') != null) document.getElementById('answer577482X4X28othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X28AO03" class="control-label radio-label"> 一般 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X28AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X28" id="answer577482X4X28AO04" onclick="if (document.getElementById('answer577482X4X28othertext') != null) document.getElementById('answer577482X4X28othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X28AO04" class="control-label radio-label"> 不满意 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X28" disabled="disabled" type="hidden" value="" name="java577482X4X28" /> <!-- end of answer --> </div> <!-- End of question G01Q05 --> </div> <!-- End of question 28 --> <!-- Question 29 --> <div id="question29" class="row list-radio mandatory question-container " > <!-- Question G01Q06 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 6 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X29" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">你对该老师的教学素养(语言规范,表达清晰,板书工整合理)是否满意?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_29" > <div id='vmsg_29_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X29"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X29AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X29" id="answer577482X4X29AO01" onclick="if (document.getElementById('answer577482X4X29othertext') != null) document.getElementById('answer577482X4X29othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X29AO01" class="control-label radio-label"> 满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X29AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X29" id="answer577482X4X29AO02" onclick="if (document.getElementById('answer577482X4X29othertext') != null) document.getElementById('answer577482X4X29othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X29AO02" class="control-label radio-label"> 较满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X29AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X29" id="answer577482X4X29AO03" onclick="if (document.getElementById('answer577482X4X29othertext') != null) document.getElementById('answer577482X4X29othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X29AO03" class="control-label radio-label"> 一般 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X29AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X29" id="answer577482X4X29AO04" onclick="if (document.getElementById('answer577482X4X29othertext') != null) document.getElementById('answer577482X4X29othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X29AO04" class="control-label radio-label"> 不满意 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X29" disabled="disabled" type="hidden" value="" name="java577482X4X29" /> <!-- end of answer --> </div> <!-- End of question G01Q06 --> </div> <!-- End of question 29 --> <!-- Question 30 --> <div id="question30" class="row list-radio mandatory question-container " > <!-- Question G01Q07 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 7 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X30" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">该老师的知识讲解是否清晰?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_30" > <div id='vmsg_30_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X30"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X30AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X30" id="answer577482X4X30AO01" onclick="if (document.getElementById('answer577482X4X30othertext') != null) document.getElementById('answer577482X4X30othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X30AO01" class="control-label radio-label"> 满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X30AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X30" id="answer577482X4X30AO02" onclick="if (document.getElementById('answer577482X4X30othertext') != null) document.getElementById('answer577482X4X30othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X30AO02" class="control-label radio-label"> 较满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X30AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X30" id="answer577482X4X30AO03" onclick="if (document.getElementById('answer577482X4X30othertext') != null) document.getElementById('answer577482X4X30othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X30AO03" class="control-label radio-label"> 一般 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X30AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X30" id="answer577482X4X30AO04" onclick="if (document.getElementById('answer577482X4X30othertext') != null) document.getElementById('answer577482X4X30othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X30AO04" class="control-label radio-label"> 不满意 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X30" disabled="disabled" type="hidden" value="" name="java577482X4X30" /> <!-- end of answer --> </div> <!-- End of question G01Q07 --> </div> <!-- End of question 30 --> <!-- Question 31 --> <div id="question31" class="row list-radio mandatory question-container " > <!-- Question G01Q08 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 8 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X31" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">该老师的教学能否激发你的学习兴趣? </span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_31" > <div id='vmsg_31_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X31"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X31AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X31" id="answer577482X4X31AO01" onclick="if (document.getElementById('answer577482X4X31othertext') != null) document.getElementById('answer577482X4X31othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X31AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X31AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X31" id="answer577482X4X31AO02" onclick="if (document.getElementById('answer577482X4X31othertext') != null) document.getElementById('answer577482X4X31othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X31AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X31AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X31" id="answer577482X4X31AO03" onclick="if (document.getElementById('answer577482X4X31othertext') != null) document.getElementById('answer577482X4X31othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X31AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X31AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X31" id="answer577482X4X31AO04" onclick="if (document.getElementById('answer577482X4X31othertext') != null) document.getElementById('answer577482X4X31othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X31AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X31" disabled="disabled" type="hidden" value="" name="java577482X4X31" /> <!-- end of answer --> </div> <!-- End of question G01Q08 --> </div> <!-- End of question 31 --> <!-- Question 32 --> <div id="question32" class="row list-radio mandatory question-container " > <!-- Question G01Q09 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 9 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X32" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">老师会认真批改你的作业吗?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_32" > <div id='vmsg_32_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X32"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X32AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X32" id="answer577482X4X32AO01" onclick="if (document.getElementById('answer577482X4X32othertext') != null) document.getElementById('answer577482X4X32othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X32AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X32AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X32" id="answer577482X4X32AO02" onclick="if (document.getElementById('answer577482X4X32othertext') != null) document.getElementById('answer577482X4X32othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X32AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X32AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X32" id="answer577482X4X32AO03" onclick="if (document.getElementById('answer577482X4X32othertext') != null) document.getElementById('answer577482X4X32othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X32AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X32AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X32" id="answer577482X4X32AO04" onclick="if (document.getElementById('answer577482X4X32othertext') != null) document.getElementById('answer577482X4X32othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X32AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X32" disabled="disabled" type="hidden" value="" name="java577482X4X32" /> <!-- end of answer --> </div> <!-- End of question G01Q09 --> </div> <!-- End of question 32 --> <!-- Question 33 --> <div id="question33" class="row list-radio mandatory question-container " > <!-- Question G01Q10 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 10 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X33" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">老师会耐心、细致解答你的疑问或进行课外辅导吗?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_33" > <div id='vmsg_33_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X33"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X33AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X33" id="answer577482X4X33AO01" onclick="if (document.getElementById('answer577482X4X33othertext') != null) document.getElementById('answer577482X4X33othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X33AO01" class="control-label radio-label"> 经常 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X33AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X33" id="answer577482X4X33AO02" onclick="if (document.getElementById('answer577482X4X33othertext') != null) document.getElementById('answer577482X4X33othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X33AO02" class="control-label radio-label"> 有时 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X33AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X33" id="answer577482X4X33AO03" onclick="if (document.getElementById('answer577482X4X33othertext') != null) document.getElementById('answer577482X4X33othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X33AO03" class="control-label radio-label"> 偶尔 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X33AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X33" id="answer577482X4X33AO04" onclick="if (document.getElementById('answer577482X4X33othertext') != null) document.getElementById('answer577482X4X33othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X33AO04" class="control-label radio-label"> 从不 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X33" disabled="disabled" type="hidden" value="" name="java577482X4X33" /> <!-- end of answer --> </div> <!-- End of question G01Q10 --> </div> <!-- End of question 33 --> <!-- Question 34 --> <div id="question34" class="row list-radio mandatory question-container " > <!-- Question G01Q11 --> <!-- Question text --> <div class=" question-title-container col-12 " > <!-- Add a visual information + just Mandatory string for aria : can be improved --> <div class="asterisk float-start"> <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup> <span class="visually-hidden text-danger">;(此问题为必答问题)</span> </div> <span class=' text-muted question-number ' > 11 </span> <div class=" question-text " > <div id="ls-question-text-577482X4X34" class=" ls-label-question " > <span style="font-size:12.0pt"><span style="font-family:宋体">你对老师的总体评价如何?</span></span> </div> </div> </div> <!-- Survey question help --> <div class=" question-help-container text-info col-12 " > </div> <!-- LimeSurvey valid message and help --> <div class=" question-valid-container text-info col-12" > <div class="ls-questionhelp " role="alert" id="vmsg_34" > <div id='vmsg_34_default' class='ls-question-message ls-em-tip em_default'> 请选择一个符合的选项 </div> </div> </div> <!-- Answer --> <div class=" answer-container col-12" > <!-- List Radio --> <!-- answer --> <div class="ls-answers answers-list radio-list row" role="radiogroup" aria-labelledby="ls-question-text-577482X4X34"> <!-- on small screen, each column is full widht, so it look like a single colunm--> <ul class="list-unstyled col-md-12 col-12"> <!-- answer_row --> <li id='javatbd577482X4X34AO01' class='answer-item radio-item' > <input type="radio" value="AO01" name="577482X4X34" id="answer577482X4X34AO01" onclick="if (document.getElementById('answer577482X4X34othertext') != null) document.getElementById('answer577482X4X34othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X34AO01" class="control-label radio-label"> 满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X34AO02' class='answer-item radio-item' > <input type="radio" value="AO02" name="577482X4X34" id="answer577482X4X34AO02" onclick="if (document.getElementById('answer577482X4X34othertext') != null) document.getElementById('answer577482X4X34othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X34AO02" class="control-label radio-label"> 较满意 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X34AO03' class='answer-item radio-item' > <input type="radio" value="AO03" name="577482X4X34" id="answer577482X4X34AO03" onclick="if (document.getElementById('answer577482X4X34othertext') != null) document.getElementById('answer577482X4X34othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X34AO03" class="control-label radio-label"> 一般 </label> </li> <!-- end of answer_row --> <!-- answer_row --> <li id='javatbd577482X4X34AO04' class='answer-item radio-item' > <input type="radio" value="AO04" name="577482X4X34" id="answer577482X4X34AO04" onclick="if (document.getElementById('answer577482X4X34othertext') != null) document.getElementById('answer577482X4X34othertext').value='';checkconditions(this.value, this.name, this.type)" /> <label for="answer577482X4X34AO04" class="control-label radio-label"> 不满意 </label> </li> <!-- end of answer_row --> </ul> </div> <input id="java577482X4X34" disabled="disabled" type="hidden" value="" name="java577482X4X34" /> <!-- end of answer --> </div> <!-- End of question G01Q11 --> </div> <!-- End of question 34 --> <!-- Hidden inputs --> </div> </div> <!-- END OF GROUP: 我的第一个问题组 --> <!-- PRESENT THE NAVIGATOR --> <div class=" row navigator space-col" id="navigator-container" > <!-- Previous button container --> <div class=" col-6 text-start" > </div> <div class=" col-6 text-end"> <!-- Button submit --> <button id="ls-button-submit" type="submit" value="movesubmit" name="move" accesskey="n" class=" ls-move-btn ls-move-submit-btn action--ls-button-submit btn btn-lg btn-primary"> 提交 </button> </div> </div> <!-- Extra navigator part --> <!-- extra tools, can be shown with javascript too (just remove ls-js-hidden class --> <div class="row ls-js-hidden"> <!-- Extra button container --> <div class="col-6 clearall-saveall-wrapper"> <div class=""> <div class=""> <label class="col-form-label fw-bold ls-js-hidden"> <input value="confirm" name="confirm-clearall" type="checkbox" class="me-2 "><span class="control-label">请确认真得要清除您的回答吗?</span> </label> <button type="submit" name="clearall" value="clearall" data-confirmedby="confirm-clearall" class="ls-clearaction ls-clearall btn btn-link" title="需确认此操作。">退出并清除调查</button> </div> </div> </div> <!-- Index container --> </div> </form> <!-- main form --> </div> <!-- main col --> </div> <!-- main row --> </div> <!-- Bootstrap Modal Alert --> <div id="bootstrap-alert-box-modal" class=" modal fade " > <div class=" modal-dialog " > <div class=" modal-content " > <div class=" modal-header " style="min-height:40px;" > <button type="button" data-bs-dismiss="modal" aria-hidden="true" class=" btn-close " ></button> <div class=" modal-title" > </div> </div> <div class=" modal-body " > </div> <div class=" modal-footer " > <a href="[url=http://wondershare.com/index.php/577482?lang=zh-Hans#]#[/url]" data-bs-dismiss="modal" class=" btn btn-outline-secondary ">关闭</a> </div> </div> </div> </div> </div> </article> <div id="bottomScripts" class="script-container"> <script type="text/javascript" src="[url=http://wondershare.com/tmp/assets/5347d509/build/embeddables.min.js]/tmp/assets/5347d509/build/embeddables.min.js[/url]"></script> <script type="text/javascript"> /*<![CDATA[*/ if(window.basicThemeScripts === undefined){ window.basicThemeScripts = new ThemeScripts(); } basicThemeScripts.initGlobal(); try{ triggerEmClassChange(); } catch(e) { console.ls.warn('triggerEmClassChange could not be run. Is survey.js/old_template_core_pre.js correctly loaded?'); } triggerEmRelevance(); jQuery(document).off('pjax:scriptcomplete.mainBottom').on('ready pjax:scriptcomplete.mainBottom', function() { activateActionLink(); activateConfirmButton(); $('#limesurvey').append('<input type="hidden" name="ajax" value="off" id="ajax" />'); updateMandatoryErrorClass(); }); /*]]>*/ </script> </div> <script> window.basicThemeScripts.init(); </script> </body> </html>
Updated and tested
I have to update gitlab.com/SondagesPro/coreAndTools/AdminBanner to allow to add it on new version …After some consideration, we created a Sea Green child theme and implemented the boxes with JavaScript
After can add any HTML (filtered) at home page + Surey listing (in option)
Dann füge das script doch einmal in die "Fehler"-Frage ein speichere die Frage und exportiere die Umfrage als lss.weil es einfach nicht mitgenommen wird, wie ich zuletzt schon geschrieben habe.
<style type="text/css"> .fehler #ls-button-submit { display: none !important; } </style>
Das ist doch längst obsolet.sollte hier evtl. der 'Quellcode-Editor' aktiviert sein, damit alles OK ist?
Natürlich ist es nicht stabil. Aus diesem Grunde solltest Du es ausprobieren, und Fehler, Wünsche und Sonstiges mitteilen.Wegen BETA wahrscheinlich noch nicht oder?
I have to update gitlab.com/SondagesPro/coreAndTools/AdminBanner to allow to add it on new version …After some consideration, we created a Sea Green child theme and implemented the boxes with JavaScript