Toloka documentation

LinkOpenedConditionV1

toloka.client.project.template_builder.conditions.LinkOpenedConditionV1 | Source code

LinkOpenedConditionV1(
    self,
    url: Optional[Any] = None,
    *,
    hint: Optional[Any] = None,
    version: Optional[str] = '1.0.0'
)

Checks that the Toloker clicked the link.

Important: To trigger the condition, the Toloker must follow the link from the Toloka interface — you must give Tolokers this option. The condition will not work if the Toloker opens the link from the browser address bar.

This condition can be used in the view.link component and also anywhere you can use (conditions).

Parameters Description

Parameters Type Description
url Optional[Any]

The link that must be clicked.

hint Optional[Any]

Validation error message that a Toloker will see.