# Number Field

Numeric fields are used to store numbers - negative or positive, with or without fractional part as it is configured for object field.

**Adding component**

* Virtual input field:  [Adding virtual fields to the form](/components/forms/components/add-and-remove-form-components.md#virtual-fields)
* Source object field: [Adding data source fields](/components/forms/components/add-and-remove-form-components.md#data-source-fields)

**Component properties**

* [Components Basic Properties](/components/forms/components/components-basic-properties.md)
* Virtual input field component properties:

<img src="/files/6Vrv0sxHowYbpap0YZWf" alt="" class="gitbook-drawing">

* Length - limits number of digits
* Decimal Places - indicate how many decimal places should be displayed
* Default Value - provide default value if needed. It can be actual number or merge field

**Validation rules:** [Input Number validation rules](/components/forms/components/components-validation-rules.md#number-field)

**Events:** [Form Input Events](/components/forms/tools/event.md#form-input-events)

**Conditional styles**

* [Form components conditional styling](/components/forms/basics/working-with-conditional-styles.md#configure-conditional-styles)
* This component has following conditional styles available:
  * hide
  * show
  * required
  * disable
  * clear


---

# 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.flexikanban.ai/components/forms/components/number-field.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.
