Collecting offline data

For this type of project, you can use the Spatial Crowdsourcing preset.

This preset is used for field tasks in the Toloka mobile app. The Toloker selects a point on the map, goes to the location, takes photos, and writes a comment.

The preset uses HTML/JS/CSS editor by default. This section describes how to use the Template Builder for the same purpose. In the Task interface section of your project, select Template builder and paste the code of the following example to the Config section.

Take a look at the example: the interface includes a text block, a button for sending the coordinates of the Toloker's device, a button for uploading photos, and a comment field. Note that validation and task layout are already configured in this Template Builder sample code.

View example
Components used in the example

If this template doesn't meet your needs, see other examples in the Field tasks section.

Add a description

To add a detailed description to the task, use one more view.text component. To start a new line, use \n.

Show code
View example

Add a layout

To enhance Toloker's experience, you can highlight different types of data with colors using view.alert. You can place it in the view.list along with the other components.

In this example, the text is highlighted with a blue border.

Show code
View example

See also

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