# \#integers

**URL:** https://community.gravityforms.com/tag/integers/1932.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [The number field can only be filled with numbers](https://community.gravityforms.com/t/the-number-field-can-only-be-filled-with-numbers/16065)

<div class="topic-metadata">

**Author:** [@dwiyanto](https://community.gravityforms.com/u/dwiyanto)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 10:04pm UTC](https://community.gravityforms.com/t/the-number-field-can-only-be-filled-with-numbers/16065 "2023-10-20T22:04:27Z")

</div>

Hello… How do we force the number field to only be filled with numbers?? I don’t want any characters other than numbers to be filled in the number field. example: cannot be 123.456 or 123,456 or 123-456 or 123a456 I…

---

## [Want option for Number field to contain only digits \[RESOLVED\]](https://community.gravityforms.com/t/want-option-for-number-field-to-contain-only-digits-resolved/13579)

<div class="topic-metadata">

**Author:** [@user5de15a8fe3347848](https://community.gravityforms.com/u/user5de15a8fe3347848)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 8:34pm UTC](https://community.gravityforms.com/t/want-option-for-number-field-to-contain-only-digits-resolved/13579 "2022-10-06T20:34:13Z")

</div>

Nevermind. I found the advice to use a numerical mask in a single line text field. The Number field currently has three options: comma, decimal, or currency. Please add a fourth option: integer. The Number field on my…

---

## [Specific Form/field Target / Whole Numbers (Integers) only](https://community.gravityforms.com/t/specific-form-field-target-whole-numbers-integers-only/13253)

<div class="topic-metadata">

**Author:** [@Adey](https://community.gravityforms.com/u/Adey)\
**Replies:** 3\
**Last updated:** [August 18, 2022, 2:58pm UTC](https://community.gravityforms.com/t/specific-form-field-target-whole-numbers-integers-only/13253 "2022-08-18T14:58:02Z")

</div>

Hi all. Really cant remember how to do this as don’t get involved very often with the custom function. I have a form with an ID of 1 in which I would like the number field 1 to only accept whole numbers. At present when…
