List of conditions

Use the components named conditions.* to match an expression against a condition. For example, you can check whether a text field is filled in.

condition.allChecks that all child conditions are met. If any of the conditions is not met, the component returns 'false'.
condition.anyChecks that at least one of the child conditions is met. If none of the conditions is met, the component returns false.
condition.emptyChecks that the data didn't get a value. If it did, returns false. This is useful if you need to check the optional template data (data.*) or make sure that a Toloker didn't interact with the data entry fields (fields.*).
condition.equalsChecks whether the original value is equal to the specified value. that a Toloker clicked the link.
condition.notReturns the inverse of the specified condition.
condition.playedChecks whether playback has started.
condition.played-fullyChecks that playback is complete.
condition.requiredChecks that the data is filled in.
condition.same-domainChecks if the link that you entered belongs to a specific site. If it does, returns true, otherwise, false.
condition.schemaAllows validating data using JSON Schema. This is a special format for describing data in JSON format.
condition.sub-arrayChecks whether the array is a subarray of another element.
Contact support

Last updated: March 29, 2023

Getting started
Important tips
Useful recommendations
Working with Toloka
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support