Skip to main content
Version: v1.0.2

IndividualComponentAllResponsesCondition

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

PropertyTypeDescription
check"responses"The check we'll perform.
namestringThe name of the component to check.
tostringThe id of the component or block to skip to