Title: Number Field
Published: February 20, 2025
Last modified: February 21, 2025

---

# Number Field

## In this article

 * [Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/?output_format=md#key-features)
 * [Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/?output_format=md#settings)

[ Back to top](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/?output_format=md#wp--skip-link--target)

The Number field provides an input specifically for numeric values. It includes 
validation and formatting options to ensure proper number handling.

## 󠀁[Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/?output_format=md#key-features)󠁿

 * Numeric validation
 * Min/max restrictions
 * Step increment control
 * Custom formatting
 * Prefix/suffix support

## 󠀁[Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/?output_format=md#settings)󠁿

 * Default Value – Preset number
 * Placeholder – Input placeholder text
 * Prepend – Text before the input
 * Append – Text after the input
 * Min – Minimum allowed value
 * Max – Maximum allowed value
 * Step – Number increment size

First published

February 20, 2025

Last updated

February 21, 2025

Edit article

[ Improve it on GitHub: Number Field ](https://github.com/wordpress/secure-custom-fields/edit/trunk/docs/features/field/number/index.md)

Changelog

[ See list of changes: Number Field ](https://github.com/wordpress/secure-custom-fields/commits/trunk/docs/features/field/number/index.md)

[  Previous: Using the Message Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/message/message-tutorial/)

[  Next: Using the Number Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/number-tutorial/)