Please help us help you and fill where relevant: LimeSurvey Cloud Version 5.4.12
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: Fruity
==================
Hello!
I have used the following to change the warning message text in my questions:
<script type="text/javascript" data-author="Tony Partner">
$(document).on('ready pjax:scriptcomplete',function(){
// Define some text strings
var originalModalText = "One or more mandatory questions have not been answered. If possible, please complete them before continuing to the next page.";
var newModalText = "It looks like you have missed some questions. Do you want to answer them or go to the next page?";
// Modify the modal text
var modalBody = $('.modal-body p').filter(function() {
return $.trim($(this).text()) == originalModalText;
});
if(modalBody.length > 0) {
modalBody.text(newModalText);
}
});
</script>
And whilst this works for the majority of my questions (and therefore question groups), for three of my question groups, it is not working. I hav attached a sample of the survey below. I believe it's to do with the array questions in these questions. Not sure why because for the other question groups in my survey where I have both array and multiple choice (List radio) it works fine.
But I might be missing something!
Thank you!