[number name="your_decimal" step="0.1"]
Allows to input a number. Supports decimal numbers using the "step" attribute.
Attributes:
| Attribute | Examples | Description |
| name* | name="unique_field_name" | The field name. Needs to be unique in the form. Required. |
| value | value="Text" value="{user.first_name}" value="{field.field_name}" | The initial field value. Optional. |
| placeholder | placeholder="Insert text here" | Text displayed when the field has no value. Optional. |
| min | min="1" min="0.1" | Minimum number allowed. Optional. |
| max | max="100" max="1.0" | Maximum number allowed. Optional. |
| step | step="1" step="5" step="0.1" step="0.5" | Maximum number allowed. Default: 1. Optional. |
| pattern | pattern="Regular expression" pattern="\d{3}" pattern="\d{1,10}" | A regular expression the field value should match. Optional. |
This field also supports common HTML attributes, as well as label & description attributes.