Discussions

Ask a Question
Back to All

Integer Number Format without Spaces or Commas

According to the docs, the available number formats are "# ##0,#", "# ##0.#", "#,##0.#", "# ##0", and "#,##0". Is there a way to capture data of the form "###"? A number that is just an integer; no decimals, spaces, or commas?

The issue with the other formats is that if I restrict the length (using a length constraint), the required length has to be 1 more than the actual number length to accommodate the space.

Let's say I want to detect a datapoint that is always 6 digits. If a document contains the text "123456", it would be formatted by Rossum as "123 456". This means that I would need to have an "exact length" constraint of 7.

However, if a user manually types in "123456" (without spaces), it would then be considered invalid because it is too short. The error message displayed is "The required length is 7", which is confusing for users because the datapoint that is supposed to be captured should only have 6 digits.