Skip to main content
Submitted

Allow leading 0's on a number field

Related products:Freshservice
  • Nov 13, 2026 3:48 PM UTC
  • 0 replies
  • 1 view

Medic1334
Top Contributor ⭐
Forum|alt.badge.img+10

What are you trying to do?
I have a number field that is collecting the last 4 digits of a users ID. If the first digit starts with a zero (Ex: 0123), the regex validation rejects the value where if I use 1234, there is no issue . This appears to be because the Number field automatically truncates leading zeros from the value, forcing me to use a string value to get this data to work (but then causing downstream data conversion requirements).

Product area: Freshservice
Impact: Slows us down