Hi,
I had that little script that allows a few use cases. Add it to your Look & Feel header. You can select to display original texts, hide them, or replace them with custom messages. You can select whether to auto-click submit or not. This script manages English and French, but add other languages if you need.
<script>
var AUTO_CLICK = true;
// set to true to automatically click the next button when the message is detected
var MESSAGES = {
'End of survey. Select Submit to finish.': 'Submitting...',
'Fin de l’enquête. Sélectionnez Soumettre pour terminer.': 'Envoi en cours...'
};
// key = original message, value = replacement
// null = leave original message
// '' = hide
// 'txt' = replace with this text
(function () {
var msgEl = document.querySelector('#error-message');
if (!msgEl) return;
var detected = msgEl.textContent.trim();
if (!(detected in MESSAGES)) return;
var replacement = MESSAGES[detected];
if (replacement === null) {
} else if (replacement === '') {
msgEl.style.display = 'none';
} else {
msgEl.textContent = replacement;
}
if (AUTO_CLICK) {
Qualtrics.SurveyEngine.QuestionData.getInstance('_').clickNextButton();
}
})();
</script>