Custom Pop up message based on two question responses | XM Community
Skip to main content

Hi all,

 

I did some digging but cannot find a post related to my query. I am very much a JS novest but want to create a custom pop up based on the selection of two questions. The first question is a multiple choice CSAT rating, the others being a slider. 

 

Essentially I want to detect when there is a mismatch between the CSAT being rated a 1 and all other sliders = 5. Pop up a message to let the respondent know they might have made a mistake.

 

I know this can be done with branch logic and another question but looking for a less intrusive way to create a simple warning pop up.

 

Cheers

 

So all your questions are appearing on same page or on different page?


You will need to throw an error if those 2 values does not match seems to me a JS problem. Here you can throw an error message if those values are not same.

Example:

check on click for slider if the value of rating is not empty and if does not matches with sliders value then throw an error.


Leave a Reply