Announcements
I have a form that asks for an ID number that should contain two leading zeros. How do I ensure that the leading zeros remain when building my flow? I would like to verify that the user submitted exactly a nine-digit number and that they keep the leading zeros if they input them that way. I do not wish to exclude numbers that don't have leading zeros.
What if you format it as Text instead of Number?
Hi @dedgerton1
You will need to ensure that the field is saved and referenced as a String value (Text).
A number field will most likely exclude the leading 0s.
You can use regular expressions and the IsMatch() function to check whether the value is a 9 digit number.
IsMatch(Label.Text, "^\d{9}$")
I hope this helps!
I'm not sure I understand. How would this need to be laid out in the Flow?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 356 Most Valuable Professional
11manish 225 Super User 2026 Season 2
Mohsin Ali 211