Minumum length

Hello to all,
How can I set a minimum length to a field like 11 numbers minimum?
Thanks in advanced

Hello,
Select your input and add a validation rule:

2 Likes

Thanks, the type of the field is “number”, only give me the option that I will show in the attached image. If I swich to text, only give “required” in the validation rule.

What do you want to validate exactly? The number of chars entered or the value of the number ?

I need to validate that the user will can’t enter less than 11 characters, the field is a number, actually is an ID to identify members. The user have to enter each record in the system of each new member. I would like to avoid that the user enter less of 11 characters in that field

I found why not show me as you post above. There a way to do it for a number field?

sorry, numeric as type

You can use Pattern Validation. Just change the 9 in my screenshot to 11. So yours should be [0-9]{11}

Screen Shot 2020-12-04 at 11.08.20 AM

You can just change the text type to text, set the validation as per my screenshot and change the input type to number then :slight_smile: Seems these options are just missing from the UI - we will check this.

got it, Teodor; for some reason if I switch from number to text directly in the field properties just allow me required validation, I create the field again as text from start and works. Brad: I never found the pattern validation, must be for the same reason. But it works now, thanks

1 Like