field.phone-number

Creates a field for entering a phone number.

Allows entering numbers, spaces, and the +, ( ), - characters. Only numbers and the + character at the beginning will remain in the data. For example, if you enter +7 (012) 345-67-89, the data gets the +70123456789 value.

View example

Component properties

NameTypeDescription
type*"field.phone-number"Set component type.
data*writableData with values that will be processed or changed.
labelstringLabel above the component.
hintstringHint text.
placeholderstringA semi-transparent label that is shown in an empty field.
validationconditionValidation based on condition.
Contact support
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
Frequently asked questionsTroubleshootingSupportGlossary