0 votes
in SoSci Survey (English) by s160595 (245 points)

Hello,

I want to know how can I implement an attention check (like the option question filter) in a fully labelled scale question type? E.g. if for the item "Please select the option strongly disagree" is selected agree I want the study to end for that participant.

1 Answer

+1 vote
by SoSci Survey (308k points)

Such attention checks are typically spread throughout scales that you already use in your questionnaire. So, create such an item is probably trivial. Usually, not only one such item is used, but three, for example.

I interpret your question as: How do you check if the attention check was passed?

Given that you expect three of three checks to be answered correctly, and they are "hidden" in questions AB01, BC02, and CD03, the PHP code might look like this:

if (
  (value('AB01_04') == 5) &&
  (value('BC02_08') == 1) &&
  (value('CD03_06') == 5)
) {
  put('IV01_01', 1);
} else {
  put('IV01_01', 2);
}

This PHP filter code will just store the result into an internal variable by using put(). You you may as well redirect respondents to either a "complete" oder "quality fail" URL, if working with an external panel. Or you may display a survey code only in the first condition (and an explanation in the other).

by s160595 (245 points)
Thanks for the tip. I will not be using an external panel. Is there any way to end the study immediately if the attention check is not passed. In other words to implement the same function as "Filter Question"  but for an item in "Fully Labelled scale"?
by s160595 (245 points)
I found it, if ( item value is not what is expected) { goToPage('desiredPage');}
by SoSci Survey (308k points)
You may also want to use buttonHide() and pageStop() to create a screenout.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...