Skip to main content

Page last updated 17 August 2026

The number field accepts numeric input either as an integer or decimal depending on the chosen format.

Appearance

An example of an integer field
Currency input field with a pound prefix and a value set as £1,250
An example of a currency editor set to pound

Settings

Setting nameSummary
NameA text label to identify the field in an entry.
Field IDA sanitised name to be used by the API.
Default valueThe default value property sets the default content for a field when an entry is created. For example, a default number value of 500.
Read onlyPrevents authors from editing the field in the entry editor.
Allow multiple items to be addedMakes 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 nameSummary
Placeholder textThe placeholder property provides a short hint describing the expected value of a field.
Content guidelinesProvides guidance about the content you should add to the field.
Field visibilityDetermines 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.

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.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request