Mask for field

doubts
New Member

Hello, how do I determine that a field can only have 8 numeric digits and make this mandatory? I know this can be done through mask, but I do not know how to use it

Solved Solved
0 9 796
1 ACCEPTED SOLUTION

It may need to be:

LEN([numeric] & "") = 8

View solution in original post

9 REPLIES 9

When usage says the function was used incorrectly.

LEN([numeric]) = 8.

If you put your formula

inside the valid if space, that will ensure that the length must be 8 characters long.

@doubts are you getting an error with that formula like that?

It may need to be:

LEN([numeric] & "") = 8

Hmmโ€ฆ you might be onto something - len is expecting a text:

LEN(TEXT([numeric])) = 8

Note that use of TEXT() will apply display formatting to the result, which may change the length. CONCATENATE() or & will retain the stored format.

I didnโ€™t know that about text(). Every day is a learning day.

There is also a setting for the number of digits for the Number type details:
3X_9_c_9c0f0a5b911a58ad0e2d9dec3fc4cb061200c566.png

It didnโ€™t work for me.

Top Labels in this Space