Skip to main content
Version: v2.4.1

IndividualComponentAllResponsesCondition

Defined in: parser/types.ts:1467

The IndividualComponentAllResponsesCondition interface is used to define a SkipCondition based on all answers to a specific component. The skip logic will be checked for every component in the block that has the specified name.

info

If you need to check all instances of a repeated component, you should use the RepeatedComponentBlockCondition.

Here's an example of how to use the IndividualComponentAllResponsesCondition:

{
...
"skip": [
{
"name": "attentionCheck",
"check": "responses",
"to": "end"
}
]
...
}

In this example, if all responses to the component with the ID "attentionCheck" are correct, the participant will be redirected to the end of the study. If any response is incorrect, the participant will continue to the next component in the sequence.

Properties​

PropertyTypeDescriptionDefined in
check"responses"The check we'll perform.parser/types.ts:1471
namestringThe name of the component to check.parser/types.ts:1469
tostringThe id of the component or block to skip toparser/types.ts:1473