Number input field

To add a number input field, use the field.number component.

Integer validation

By default, this field can contain decimal numbers. To enter integers, use validation:

"validation": {
"type": "condition.schema",
"schema": {
"type": "integer"
},
"hint": "Enter an integer"
}
View example

Prohibit negative numbers

By default, you can enter both positive and negative numbers in this field. To prohibit negative numbers, use the minimum property:

"minimum": 0
View example

Contact support

Last updated: August 2, 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