Scripting Questionnaire | XM Community
Skip to main content

We're evaluating respondents' views on seven statements rated on a 5-point scale. The condition we aim to implement involves selecting individuals who answer 4 or 5 for at least 5 out of the 7 statements (statements 1-7). How can we efficiently structure this condition in our survey design or within Qualtrics to accurately identify these qualifying respondents?

Hi @Maamoun96 
Create a matrix question as per your requirement.

Add custom validation as per given above.


Thank you for your reply…

I don’t need a data validation, what I need is more like a skip logic that terminates the survey in case the condition is not met.


Thank you for your reply…

I don’t need a data validation, what I need is more like a skip logic that terminates the survey in case the condition is not met.

We can use scoring for this. So score the scale point 4 and 5 with score 1. Post the matrix question in the branch logic check if score is less than 5 then terminate.


Can you please tell me the steps to do that, because I tried this method and it didn’t work, I think there was something wrong with the steps I did


Step 1: Create a scoring category - mscore. Put score of 1 to scale point 4 and 5 for all 7 statements.

Step 2: In the survey flow after the block with matrix question, pipe in the score of ‘mscore’ in an embededd data - ‘ed_mscore’.

Step 3: Add branch logic as if ‘ed_mscore’ is less than 5. Inside branch logic add end of survey element.


@Maamoun96 Rather than custom validation, you can use the same logic set in your survey flow and create a branch logic. For e.g., Create a embedded data ‘Qualified’ and If the mentioned condition is not met, set ‘Qualified = No’. Create another branch logic saying ‘If Qualified = No’, then Terminate/End of survey.


Leave a Reply