Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Forms
  • Getting started
    • Choose a version of Yandex Forms
    • Create the first form
    • Enable Yandex Forms for business
    • Log in to Yandex Forms for business
  • Concepts
    • Service overview
    • Personal forms
    • Forms for business
  • Create a form
    • Overview
    • Add prompts
    • Conducting a test
    • Customizing the appearance of form
    • Configuring conditions for submitting a response
    • Customizing the result page
    • Validate a response
  • Configure integration with other services
    • Overview
    • Send an email
    • Enable Metrica
    • Creating an issue in Tracker
    • Add a response to Wiki
    • Send the HTTP request
    • Variables in integration settings
  • Publishing a form
    • Publishing a form
    • Limit responses
    • Configuring pre-filling forms
      • Overview
      • GET parameters
      • Get IDs for questions and responses
  • Get responses
  • Manage forms
  • Configure access
  • Response reference
    • Overview
    • Wiki
    • Drop-down list
    • Cities and countries
    • Yes/No
    • Date
    • Long text
    • TIN
    • Teams
    • Short text
    • People
    • Several options
    • One answer
    • Payment
    • Departments
    • Rating on a scale
    • Email
    • Questions series
    • Link
    • Text with no questions
    • Phone
    • Tests and quizzes
      • Overview
      • One answer
      • Several options
      • Number
    • File
    • Integer
    • Number
  • Pricing policy
  • Revision history
    • December 2022
    • November 2022
    • October 2022
    • August 2022
  • Support
  1. Response reference
  2. Number

"Number" block

Written by
Yandex Cloud
  • Block settings
    • Question
    • Question ID
    • Required prompt
    • Hidden question
    • Validation

In this block, the user can enter an integer or a fraction. For example, height in meters or body temperature.

Block settings

Question

Enter a field name or a prompt.

  • To add an image to the prompt, click .

  • To add a comment or hint to the prompt, click + Add comment. The comment is displayed in a small font.

  • To format the text of your prompt or comment, use Markdown.

Question ID

Use the question ID for pre-filling forms.

You can edit the ID. All questions in the same form must have unique IDs.

In the ID you can use uppercase and lowercase letters in the Latin alphabet, numbers, symbols - and _.

Required prompt

Turn this option on to mark required prompts with an asterisk. If the user doesn't respond to this prompt, they can't submit the completed form.

Hidden question

Turn on this option if you don't want to show a prompt on the form. You can use hidden questions for sending technical parameters.

Warning

Don't turn on Hidden question and Required prompt at the same time, otherwise users won't be able to submit the completed form.

Validation

Use validation if you need to check that the entered response matches the specified format. For example, you can make sure responses are in Russian or that there aren't any forbidden characters in them. If the response doesn't match the specified format, a warning appears that the field is filled out incorrectly.

Select a validation method:

  • No validation: The response can contain any characters. If you select this validation method, the entered data is not checked.

  • Validation of fractional numbers: The response must contain an integer or a decimal.

  • TIN validation: The response must contain a valid taxpayer ID: 10 or 12 digits corresponding to the control checks.

  • Validation of letters from the Cyrillic alphabet: The response can only contain letters in the Russian alphabet, numbers, spaces and symbols . , ; ( ).

  • Validation using regular expressions: You can make your own regular expression used to check responses. Examples:

    • A regular expression that only allows Latin letters, numbers, and spaces:

      ^[A-Za-z0-9\s]+$
      
    • A regular expression that allows any characters except numbers and certain special characters:

      ^[^0-9@#$%^&*]+$
      

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Block settings
  • Question
  • Question ID
  • Required prompt
  • Hidden question
  • Validation