Length constraint for numbers

Hi guys

Im trying to enforce this number field to accept only 9 digits. Ive tried using text with appearance = number and regex but im not getting the job done.
pls help me on this one

Welcome to the community, @Mauro_Nharreluga! Have you tried this workaround discussed previously? It should solve your issue:

Hello @Mauro_Nharreluga
why not use an integer field with a simpl numeric constraint like . <= 999999999 ?

1 Like

Thanks @Kal_Lam.
These regular expressions aint easy to deal with but i managed to fix the problem.

1 Like

@Mauro_Nharreluga, you should be able to learn more of the regex through our support article Restricting Text Responses With Regular Expressions.