When you collect integers via the Number field, the resulting value contains commas (or a different type of character depending on your form’s location settings). When you need to collect a number without commas (ex: a year), use a Textbox field instead:
- Add a Textbox to your form.
- In the field settings, find the Format Validation option and select the Numeric option. This option requires users to enter only numbers.
- Optionally, select the Custom Mask option and enter your numeric value (ex: ####) as the Format Mask.
Learn more about custom format validation in our Advanced Validation guide.