# Number input

To configure the widget, you need to perform the following actions:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfzD7f0Up-UNTuPiLUEF91Fnv5NJvxSVHl-rHnzHnHes5jn3dAnN8fphzkjGCzgHJ0bTZagstWK93E4V4D-Fwk628gkIeiuFr7xrgO4dBnwmHWiUpaBKJDYnCJybaibgt_Pbi76Kg?key=0FvAYgnYwbyv9Fptf0FsztXR" alt=""><figcaption></figcaption></figure>

The Number input widget displays a field for the User to enter a numeric value, allowing for hints and constraints to ensure only valid values are entered.

To configure the element, click on the edit icon ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdDtXhc5TirxAEK7gbKhKkViUtt-ARzwFR3J2IPzQhO80jVaHrHEnHUJ5k4rZgTCA08lqMla9rnMCMalWmuJfZnSj3xSTNWdDImEuUnEDU1-eZSpdhgumbufOPYZ8oGYY7g0sXELw?key=0FvAYgnYwbyv9Fptf0FsztXR).

A popup window “Element Settings” will open:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfbh_vT-jKyAuFTPMZixbDfRLCXiZeHhCtrJDnaopAFaVfMiIKGuK58THCbZzAJB38I5tjy5X0QjiMRHz1U-vEwosTR9F8VRtl5T7zmqDoEJ-wzpcSjhoTKEwvOQxpdxSycW841?key=0FvAYgnYwbyv9Fptf0FsztXR" alt=""><figcaption></figcaption></figure>

### Fields for configuring the widget

Fill in the necessary fields to configure the widget.

**“Required”** – a checkbox, filled manually with the left mouse button. It is intended to color the field red if the User has not filled in this widget.

**“Visible Name”** – a text field, filled manually from the keyboard. Allows you to specify a name for the widget.

**“Parameter Name in Task”** – a text field, filled manually from the keyboard. This field displays the text corresponding to the value of the specified Parameter of the selected Task. The User can change this value in the text field, and after saving the form, the new value will be recorded in the specified Parameter of the selected Task. This means that by making changes in the text field, the User can update the information in the Task, simply by entering a new value and saving the changes.

**“Placeholder”** – a text field, filled manually from the keyboard. Allows you to specify a placeholder text that will be displayed in the input field until the user starts entering a value.

**“Class”** – a text field, filled manually from the keyboard. Allows you to specify a CSS class that will be applied to the element. This allows you to change the style of the widget, such as color, size, or font.

**“Regular Expression (Regexp)”** – a text field, filled manually from the keyboard. Allows you to specify a regular expression for input validation. For example, `^\d+$` ensures that only an integer is entered.

**“Validation Error Message”** – a text field, filled manually from the keyboard. Allows you to specify the text that will be displayed to the User if the entered value fails validation.

**“Hint”** – a text field, filled manually from the keyboard. Allows you to specify an additional hint that will help the user understand what needs to be entered.

**“Default Value”** – a text field, filled manually from the keyboard. Allows you to specify a value that will be displayed in the input field by default.

**“Minimum Value”** – a text field, filled manually from the keyboard. Allows you to specify the minimum acceptable value that the User can enter.

**“Maximum Value”** – a text field, filled manually from the keyboard. Allows you to specify the maximum acceptable value that the User can enter.

**“Maximum Character Count”** – a text field, filled manually from the keyboard. Allows you to specify the maximum number of characters that can be entered.

### **Example of filling out**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfRE3mCTzP2ALtoXKjFpFCaoGSlFo-NQ4nsPRF7CGe8lQvban4no8QyfwmXe9GUCqzvOBQEuF6-fCICq8sNgBUBFnC65AbScBK4_Hvm0_JLApsFQgqXWAbftL8t_3v1r8pLgXVdEg?key=0FvAYgnYwbyv9Fptf0FsztXR" alt=""><figcaption></figcaption></figure>

| **Field Name**              | **Value**                                                                                                                                                                                                                   |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Checkbox "Required"         | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdbGbJ3mgxG3hrRKZ0yHCgCh8u2PvKS2eoYADmaX1nibQuEWqLvgtd3fqQUIFt_JjywCjjoqAtpZSVz1V4M0chtRdX3X-3w6pVO6LMX8miSBhv5Q7s8CnFgXe1hP4IptLQ9mzPg2w?key=0FvAYgnYwbyv9Fptf0FsztXR) |
| Visible Name                | Age                                                                                                                                                                                                                         |
| Parameter Name in Task      | user\_age                                                                                                                                                                                                                   |
| Placeholder                 | Enter your age                                                                                                                                                                                                              |
| Class                       | input-age                                                                                                                                                                                                                   |
| Regular Expression (Regexp) | `^\d+$`                                                                                                                                                                                                                     |
| Validation Error Message    | Please enter a valid number.                                                                                                                                                                                                |
| Hint                        | Age must be between 0 and 120.                                                                                                                                                                                              |
| Default Value               | 0                                                                                                                                                                                                                           |
| Minimum Value               | 0                                                                                                                                                                                                                           |
| Maximum Value               | 120                                                                                                                                                                                                                         |
| Maximum Character Count     | 3                                                                                                                                                                                                                           |

Result:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdGl4fE-MoNdD-QmYnX83HS2qPf9L7seOP0wIjJwr_Ceze9BTwjPtbLLbrLCeAG1k7y_Stvv8UUOVF_V6dYRpDMnG_q3_r3eBJn2UEBpre9Y0eKOFZETdLwJBajYgVi2IV4FDX_?key=0FvAYgnYwbyv9Fptf0FsztXR" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-orchestrator/rabota-v-sherpa-orchestrator/ekrany/deistviya/dizainer-formy/number-input.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
