- Posts: 11
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { // Interrupt the submit process $('#movenextbtn, #movesubmitbtn').bind('click', function () { if($('input.radio[value=""]:checked').length > 0) { var moveOn = confirm("Some questions remain unanswered. \nDo you want to continue?"); if (moveOn == false) { return false; } } }); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { var confirmShown = 0; // Interrupt the submit process $('#movenextbtn, #movesubmitbtn').bind('click', function () { if($('input.radio[value=""]:checked').length > 0 && confirmShown == 0) { confirmShown = 1; var moveOn = confirm("Some questions remain unanswered. \nDo you want to continue?"); if (moveOn == false) { return false; } } }); }); </script>