How can I collect numbers without commas?

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:

  1. Add a Textbox to your form.
  2. In the field settings, find the Format Validation option and select the Numeric option. This option requires users to enter only numbers.
  3. 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.