Features

Number input field: character counting and preserving leading zeros

1y agoPending

I need a form field where the answer must be a number with exactly 12 digits (both minimum and maximum). The regular "number" input field doesn’t work because it removes leading zeros. The "short answer" field allows letters, but it correctly enforces the character count. It would be great to have a feature that lets us set both minimum and maximum character limits for numeric inputs while also preserving any leading zeros.

1 comment

  1. Tally1y ago

    Hi Lucas Fainblat,

    Thanks for sharing this request with us. 🙌🏼

    We can see why you'd want this improvement for the Number block.

    As a workaround for now, you can achieve exactly what you'd want by adding conditional logic to disallow letters.

    See attached for the logic you can make (just add the rest of the letters, or any special characters in a separate line):

    • img/7i6qapoz2441ryy99zv0mtbr