condition.equals

Checks whether the original value is equal to the specified value. If it matches, it returns true, otherwise it returns false.

When substituting values, you can refer to data.* or another element using $ref. You can also use helpers and conditions to get the value.

View example

Component properties

NameTypeDescription
type*"condition.equals"Set component type.
dataany

Original value. If not specified, it uses the value returned by the parent component (the component that contains condition.equals).

How to pass a value:

hintstringValidation error message that a Toloker will see.
to*any

The value to compare with the original.

How to pass a value:

Contact support

Last updated: March 30, 2023

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