Number field
Log in to add to favouritesPage last updated 01 October 2026
The number field accepts numeric input either as an integer or decimal depending on the chosen format.
Appearance


Settings
| Setting name | Summary |
|---|---|
| Name | A text label to identify the field in an entry. |
| Field ID | A sanitised name to be used by the API. |
| Default value | The default value property sets the default content for a field when an entry is created. For example, a default number value of 500. |
| Read only | Prevents authors from editing the field in the entry editor. |
| Allow multiple items to be added | Makes the field repeatable so you can create a list of items. |
Supported validation
This field editor supports the following validation methods:
Properties
Common properties
| Property name | Summary |
|---|---|
| Placeholder text | The placeholder property provides a short hint describing the expected value of a field. |
| Content guidelines | Provides guidance about the content you should add to the field. |
| Field visibility | Determines if the field should be displayed in the collapsed state when opening the entry editor. |
Decimal places
If you select the decimal number format, use this property to set the number of decimal places allowed. New decimal fields default to 2.
To limit authors to one decimal place, set Decimal places to 1. Authors can then enter values such as 2.1 or 55.6.
The field doesn't reject extra digits. If an author types more decimal places than you've allowed, the value is rounded to the set number, so 2.16 becomes 2.2. When the author leaves the field, it also pads the value to the full number of places, so 5 is shown as 5.0.
If you need a whole number, use the integer format instead.
Currency editor
The number field has a second editor option called Currency, available for decimal fields on entry and component content types. It is not available on forms. Choose it from the Field editor list instead of the default Decimal editor to display a currency symbol beside the field and format the entered value with grouping commas and a decimal point.
Currency symbol
Sets the currency symbol displayed beside the field: $ Dollar, £ Pound, € Euro, ¥ Yen, or ₹ Rupee. Dollar is selected by default.
The stored value remains a decimal number and does not include the symbol or an ISO currency code.