Is there a way to change the Request Response Message? | Experience Community
Skip to main content
Question

Is there a way to change the Request Response Message?

  • Nov 13, 2020 8:47 PM UTC
  • 8 replies
  • 2311 views

I am currently working on a matrix style questionnaire. I currently have Request Response set up so that if a participant misses an item or multiple items in the question the following message pops up: There are x unanswered questions on this page. Would you like to continue?

I would like to change the content of this pop-up message. Does anyone know of a way to do that?

8 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Dec 5, 2020 8:56 PM UTC

You can do it via custom messages. Select custom validation and it will show you an option to select a custom message.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Dec 6, 2020 1:10 PM UTC

Custom validation has no impact on Request Response. Request response happens before custom validation. With custom validation it either meets the condition or not, so the functionality is different than request response where the respondent can choose to continue without answering.
As to the original question. It is possible to change the message, but quite complicated. It could be done the same way as this: https://www.qualtrics.com/community/discussion/comment/32225#Comment_32225


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Dec 6, 2020 3:12 PM UTC

TomG Thank you for pointing that out. I had assumed that both functionalities would be using a similar execution pattern, as they are grouped together in the options.
As for hwhite's original question. While TomG's function has more much functionality. This is a short script that can get the job done. If all questions have not been answered, it basically shows a pop-up, asking people whether they want to continue without answering the questions.
Qualtrics.SurveyEngine.addOnReady(function(){
    const qid = this.questionId;
    tot_choices = Qualtrics.SurveyEngine.registry[qid].getChoices().length;
    var sel_choices = 0;
    
    that = this;
    this.questionclick = function(){
        sel_choices = that.getSelectedChoices().length;
    }
    
    document.querySelector("#NextButton").onmousedown = function() {check_answers();};


    function check_answers(){
        if (sel_choices == tot_choices){that.clickNextButton();}
        else{
            //Selecting Okay will result in continuing
            if (confirm("Custom message here") == true) {
                that.clickNextButton();
            } 
        }
}
});


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Dec 6, 2020 6:23 PM UTC

This is another simpler implementation of the same. This one just changes the text of the Request Response. I've only tested it with one question on the page:

let my_interval;
Qualtrics.SurveyEngine.addOnReady(function(){


    document.querySelector("#NextButton").onclick = function() {
        my_interval = setInterval(() => {
            err_msg = document.querySelector("#ErrorMessage");
            if (err_msg != null) {
                err_msg.innerText = "Custom Message";
                clearInterval(my_interval);
            }
        }, 10);
        
    };
});


Qualtrics.SurveyEngine.addOnUnload(function() {
    clearInterval(my_interval);
});


Forum|alt.badge.img
  • Jan 27, 2022 12:30 AM UTC

This is great! I'm not familiar with working with custom code on Qualtrics. Where in the survey would we put this code?


Forum|alt.badge.img+2
  • Jan 3, 2024 1:07 PM UTC

This is another simpler implementation of the same. This one just changes the text of the Request Response. I've only tested it with one question on the page:

let my_interval;
Qualtrics.SurveyEngine.addOnReady(function(){


    document.querySelector("#NextButton").onclick = function() {
        my_interval = setInterval(() => {
            err_msg = document.querySelector("#ErrorMessage");
            if (err_msg != null) {
                err_msg.innerText = "Custom Message";
                clearInterval(my_interval);
            }
        }, 10);
        
    };
});


Qualtrics.SurveyEngine.addOnUnload(function() {
    clearInterval(my_interval);
});

 

Hi Ahmed,

I've successfully implemented the code, and it's working perfectly!

My survey includes both Hebrew and Arabic languages. I'm curious about how I can modify the custom message to appear in Arabic when respondents choose the Arabic version of the survey.

Thank you!

 


Forum|alt.badge.img
  • Jun 26, 2026 7:35 PM UTC

This is another simpler implementation of the same. This one just changes the text of the Request Response. I've only tested it with one question on the page:

let my_interval;
Qualtrics.SurveyEngine.addOnReady(function(){


    document.querySelector("#NextButton").onclick = function() {
        my_interval = setInterval(() => {
            err_msg = document.querySelector("#ErrorMessage");
            if (err_msg != null) {
                err_msg.innerText = "Custom Message";
                clearInterval(my_interval);
            }
        }, 10);
        
    };
});


Qualtrics.SurveyEngine.addOnUnload(function() {
    clearInterval(my_interval);
});

 

Hello! This code is old but I am trying to use it  but it doesn’t work. I want to change the message of the request response pop-up:

I want to custom the message to say something like: Please move the slider to record your response. Even if your answer is 0, be sure to move the slider to 0 so your response is recorded.

 


Forum|alt.badge.img+23
  • QPN Level 5 ●●●●●
  • Jun 27, 2026 12:24 PM UTC

​@yvaguila heyy, please try the below code on the question you want to update the error message - 
 

Qualtrics.SurveyEngine.addOnReady(function () {

    jQuery("#NextButton").on("click.customMessage", function () {

        setTimeout(function () {
            const msg = document.querySelector("#ErrorMessage span");
            if (msg) {
                msg.textContent = "New error message";
            }
        }, 100); // Increase if needed

    });

});